gstgl.glbase_memory

Module for [GLBaseMemory] class

Types 1

GstGLBaseMemory is a #GstMemory subclass providing the basis of 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
GLBaseMemory self() nothrowReturns `this`, for use in `with` statements.
gst.memory.Memory mem() @property nothrowGet `mem` field. Returns: the parent object
gstgl.glcontext.GLContext context() @property nothrowGet `context` field. Returns: the #GstGLContext to use for GL operations
void context(gstgl.glcontext.GLContext propval) @property nothrowSet `context` field. Params: propval = the #GstGLContext to use for GL operations
gst.types.MapFlags mapFlags() @property nothrow
void mapFlags(gst.types.MapFlags propval) @property nothrow
int mapCount() @property nothrow
void mapCount(int propval) @property nothrow
int glMapCount() @property nothrow
void glMapCount(int propval) @property nothrow
gstgl.glquery.GLQuery query() @property nothrow
bool allocData() nothrowNote: only intended for subclass usage to allocate the system memory buffer on demand. If there is already a non-NULL data pointer in gl_mem->data, then this function imply returns TRUE. Returns: ...
void init_(gst.allocator.Allocator allocator, gst.memory.Memory parent, gstgl.glcontext.GLContext context, gst.allocation_params.AllocationParams params, size_t size, void * userData = null, glib.types.DestroyNotify notify = null) nothrowInitializes mem with the required parameters
bool memcpy(gstgl.glbase_memory.GLBaseMemory dest, ptrdiff_t offset, ptrdiff_t size) nothrow
void initOnce() static nothrowInitializes the GL Base Memory allocator. It is safe to call this function multiple times. This must be called before any other GstGLBaseMemory operation.
Constructors
this(gstgl.glcontext.GLContext context = gstgl.glcontext.GLContext.init, gst.types.MapFlags mapFlags = gst.types.MapFlags.init, int mapCount = int.init, int glMapCount = int.init)Create a `glbase_memory.GLBaseMemory` boxed type. Params: context = the #GstGLContext to use for GL operations mapFlags = mapCount = glMapCount =
this(void * ptr, Flag!"Take" take)