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