GLBuffer

GstGLBuffer is a #GstMemory subclass providing support for the mapping of GL buffers.

Data is uploaded or downloaded from the GPU as is necessary.

Constructors

this
this(uint id, uint target, uint usageHints)

Create a glbuffer.GLBuffer boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

_cPtr
void* _cPtr(Flag!"Dup" dup)
self
GLBuffer self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]
id
uint id [@property getter]

Get id field.

id
uint id [@property setter]

Set id field.

mem
gstgl.glbase_memory.GLBaseMemory mem [@property getter]

Get mem field.

target
uint target [@property getter]

Get target field.

target
uint target [@property setter]

Set target field.

usageHints
uint usageHints [@property getter]

Get usageHints field.

usageHints
uint usageHints [@property setter]

Set usageHints field.

Static functions

_getGType
GType _getGType()
initOnce
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.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

_getGType
GType _getGType()

Get the GType of this boxed type.

_gType
GType _gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.