between multiple OpenGL contexts.
gstgl.glframebuffer
Module for [GLFramebuffer] class
Types 3
A #GstGLFramebuffer represents and holds an OpenGL framebuffer object with it's associated attachments.
A #GstGLFramebuffer can be created with gstgl.glframebuffer.GLFramebuffer.new_ or gstgl.glframebuffer.GLFramebuffer.newWithDefaultDepth and bound with gstgl.glframebuffer.GLFramebuffer.bind. Other resources can be bound with gstgl.glframebuffer.GLFramebuffer.attach
Note
OpenGL framebuffers are not shareable resources so cannot be used
Methods
GLFramebufferGidBuilder builder() static nothrowGet builder for [gstgl.glframebuffer.GLFramebuffer] Returns: New builder objectgstgl.glframebuffer.GLFramebuffer newWithDefaultDepth(gstgl.glcontext.GLContext context, uint width, uint height) static nothrowThis function will internally create an OpenGL framebuffer object and must be called on context's OpenGL thread.void attach(uint attachmentPoint, gstgl.glbase_memory.GLBaseMemory mem) nothrowattach mem to attachment_pointvoid getEffectiveDimensions(out uint width, out uint height) nothrowRetrieve the effective dimensions from the current attachments attached to fb.uint getId() nothrowConstructors
this(gstgl.glcontext.GLContext context)This function will internally create an OpenGL framebuffer object and must be called on context's OpenGL thread.Fluent builder implementation template for gstgl.glframebuffer.GLFramebuffer
Fluent builder for gstgl.glframebuffer.GLFramebuffer
Methods