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

between multiple OpenGL contexts.

Methods
GType _gType() @property
GLFramebuffer self()Returns `this`, for use in `with` statements.
GLFramebufferGidBuilder builder()Get builder for [gstgl.glframebuffer.GLFramebuffer] Returns: New builder object
gstgl.glframebuffer.GLFramebuffer newWithDefaultDepth(gstgl.glcontext.GLContext context, uint width, uint height)This 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)attach mem to attachment_point
void bind()Bind fb into the current thread
void getEffectiveDimensions(out uint width, out uint height)Retrieve the effective dimensions from the current attachments attached to fb.
uint getId()
Constructors
this(void * ptr, Flag!"Take" take)
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 for [gstgl.glframebuffer.GLFramebuffer]