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
void id(uint propval) @property nothrowSet `id` field. Params: propval = the buffer id for this memoryuint target() @property nothrowGet `target` field. Returns: the OpenGL target of this texture for binding purposesvoid target(uint propval) @property nothrowSet `target` field. Params: propval = the OpenGL target of this texture for binding purposesuint usageHints() @property nothrowGet `usageHints` field. Returns: the OpenGL usage hints this buffer was created withvoid usageHints(uint propval) @property nothrowSet `usageHints` field. Params: propval = the OpenGL usage hints this buffer was created withvoid initOnce() static nothrowInitializes 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...