gstgl.glmemory_pbo
Module for [GLMemoryPBO] class
class GLMemoryPBO
Types 1
classGLMemoryPBO : gobject.boxed.Boxed
#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
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.