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 meta field.

nTextures
uint nTextures [@property setter]

Set nTextures field.

nTextures
uint nTextures [@property getter]

Get nTextures field.

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

Get textureOrientation field.

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

Set textureOrientation field.

Static functions

getInfo
gst.meta_info.MetaInfo getInfo()