buffer_add_video_gl_texture_upload_meta


Description:

[ CCode ( cname = "gst_buffer_add_video_gl_texture_upload_meta" ) ]
public unowned GLTextureUploadMeta? buffer_add_video_gl_texture_upload_meta (Buffer buffer, GLTextureOrientation texture_orientation, uint n_textures, GLTextureType texture_type, GLTextureUpload upload, BoxedCopyFunc user_data_copy, BoxedFreeFunc user_data_free)

Attaches GstVideoGLTextureUploadMeta metadata to buffer with the given parameters.

Parameters:

buffer

a Buffer

texture_orientation

the GLTextureOrientation

n_textures

the number of textures

texture_type

array of GLTextureType

upload

the function to upload the buffer to a specific texture ID

user_data_copy

function to copy user_data

user_data_free

function to free user_data

user_data

user data for the implementor of upload

Returns:

the GLTextureUploadMeta on buffer.


Namespace: Gst.Video