gstgl.glbuffer

Module for [GLBuffer] class

class GLBuffer

Types 1

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 * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
GLBuffer self() nothrowReturns `this`, for use in `with` statements.
gstgl.glbase_memory.GLBaseMemory mem() @property nothrowGet `mem` field. Returns: the parent object
uint id() @property nothrowGet `id` field. Returns: the buffer id for this memory
void id(uint propval) @property nothrowSet `id` field. Params: propval = the buffer id for this memory
uint target() @property nothrowGet `target` field. Returns: the OpenGL target of this texture for binding purposes
void target(uint propval) @property nothrowSet `target` field. Params: propval = the OpenGL target of this texture for binding purposes
uint usageHints() @property nothrowGet `usageHints` field. Returns: the OpenGL usage hints this buffer was created with
void usageHints(uint propval) @property nothrowSet `usageHints` field. Params: propval = the OpenGL usage hints this buffer was created with
void 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...
this(void * ptr, Flag!"Take" take)