Concept3D's picture

Sharing Resource

Hello ,

I have a small question .
How can I share resources (textures,shaders, buffer object ) with different contexts , without actually copying the data , given that I use multiple glControls for my project ?

Regards.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Resources are always shared if possible. Different drivers have different limitations on resource sharing, for best results create all contexts before creating any resources.