VideoGLTextureUploadMeta

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.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr()
upload
bool upload(uint[] textureId)

Uploads the buffer which owns the meta to a specific texture ID.

Properties

meta
gst.meta.Meta meta [@property getter]

Get field meta.

nTextures
uint nTextures [@property setter]

Set field nTextures.

nTextures
uint nTextures [@property getter]

Get field nTextures.

textureOrientation
gstvideo.types.VideoGLTextureOrientation textureOrientation [@property getter]

Get field textureOrientation.

textureOrientation
gstvideo.types.VideoGLTextureOrientation textureOrientation [@property setter]

Set field textureOrientation.

Static functions

getInfo
gst.meta_info.MetaInfo getInfo()