gstgl.glbuffer
Module for [GLBuffer] class
class GLBuffer
Types 1
classGLBuffer : gobject.boxed.Boxed
GstGLBuffer is a #GstMemory subclass providing support for the mapping of GL buffers.
Data is uploaded or downloaded from the GPU as is necessary.
Methods
uint target() @propertyGet `target` field. Returns: the OpenGL target of this texture for binding purposesvoid target(uint propval) @propertySet `target` field. Params: propval = the OpenGL target of this texture for binding purposesuint usageHints() @propertyGet `usageHints` field. Returns: the OpenGL usage hints this buffer was created withvoid usageHints(uint propval) @propertySet `usageHints` field. Params: propval = the OpenGL usage hints this buffer was created withvoid initOnce()Initializes the GL Buffer allocator. It is safe to call this function multiple times. This must be called before any other #GstGLBuffer operation.Constructors
this(uint id = uint.init, uint target = uint.init, uint usageHints = uint.init)Create a `glbuffer.GLBuffer` boxed type. Params: id = the buffer id for this memory target = the OpenGL target of this texture for binding purposes usageHints = the OpenGL usage hints this buffer w...