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)
GType _gType() @property
GLMemoryPBO self()Returns `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)Copies gl_mem into the texture specified by tex_id. The format of tex_id is specified by tex_format, width and height.
void downloadTransfer()Transfer the texture data from the texture into the PBO if necessary.
void uploadTransfer()Transfer the texture data from the PBO into the texture if necessary.
void initOnce()
Constructors
this()Create a `glmemory_pbo.GLMemoryPBO` boxed type.
this(void * ptr, Flag!"Take" take)