gstgl.glmemory_pbo

Module for [GLMemoryPBO] class

Types 1

#GstGLMemoryPBO is created or wrapped through gstgl.glbase_memory.GLBaseMemory.alloc with #GstGLVideoAllocationParams.

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
GLMemoryPBO self() nothrowReturns `this`, for use in `with` statements.
bool copyIntoTexture(uint texId, gstgl.types.GLTextureTarget target, gstgl.types.GLFormat texFormat, int width, int height, int stride, bool respecify) nothrowCopies gl_mem into the texture specified by tex_id. The format of tex_id is specified by tex_format, width and height.
void downloadTransfer() nothrowTransfer the texture data from the texture into the PBO if necessary.
void uploadTransfer() nothrowTransfer the texture data from the PBO into the texture if necessary.
void initOnce() static nothrow
Constructors
this()Create a `glmemory_pbo.GLMemoryPBO` boxed type.
this(void * ptr, Flag!"Take" take)