GstVideoGLTextureUploadMeta

Extra buffer metadata for uploading a buffer to an OpenGL texture ID. The caller of gstvideo.video_gltexture_upload_meta.VideoGLTextureUploadMeta.upload must have OpenGL set up and call this from a thread where it is valid to upload something to an OpenGL texture.

Members

Variables

buffer
GstBuffer* buffer;
meta
GstMeta meta;

parent #GstMeta

nTextures
uint nTextures;

Number of textures that are generated

textureOrientation
GstVideoGLTextureOrientation textureOrientation;

Orientation of the textures

textureType
GstVideoGLTextureType[4] textureType;

Type of each texture

upload
GstVideoGLTextureUpload upload;
userData
void* userData;
userDataCopy
GBoxedCopyFunc userDataCopy;
userDataFree
GBoxedFreeFunc userDataFree;