Class (GI Struct)

GstVideo-1.0GstVideoVideoGLTextureUploadMeta

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

Index

Constructors

Properties

n_textures: number
texture_orientation: GstVideo.VideoGLTextureOrientation

Methods

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

    Parameters

    • texture_id: number

      the texture IDs to upload to

    Returns boolean

    true if uploading succeeded, false otherwise.