gstgl.glrenderbuffer
Module for [GLRenderbuffer] class
class GLRenderbuffer
Types 1
GstGLRenderbuffer is a #GstGLBaseMemory subclass providing support for OpenGL renderbuffers.
#GstGLRenderbuffer is created or wrapped through gstgl.glbase_memory.GLBaseMemory.alloc with #GstGLRenderbufferAllocationParams.
Methods
uint renderbufferId() @property nothrowGet `renderbufferId` field. Returns: the GL texture id for this memoryvoid renderbufferId(uint propval) @property nothrowSet `renderbufferId` field. Params: propval = the GL texture id for this memorygstgl.types.GLFormat renderbufferFormat() @property nothrowGet `renderbufferFormat` field. Returns: the texture typevoid renderbufferFormat(gstgl.types.GLFormat propval) @property nothrowSet `renderbufferFormat` field. Params: propval = the texture typegstgl.types.GLFormat getFormat() nothrowint getHeight() nothrowuint getId() nothrowint getWidth() nothrowvoid initOnce() static nothrowInitializes the GL Base Texture allocator. It is safe to call this function multiple times. This must be called before any other GstGLRenderbuffer operation.Constructors
this(uint renderbufferId = uint.init, gstgl.types.GLFormat renderbufferFormat = gstgl.types.GLFormat.init, uint width = uint.init, uint height = uint.init, bool renderbufferWrapped = bool.init)Create a `glrenderbuffer.GLRenderbuffer` boxed type. Params: renderbufferId = the GL texture id for this memory renderbufferFormat = the texture type width = the width height = the height renderbuf...