gstgl.glupload
Module for [GLUpload] class
Types 3
classGLUpload : gst.object.ObjectWrap
#GstGLUpload is an object that uploads data from system memory into GL textures.
A #GstGLUpload can be created with [gstgl.glupload.GLUpload.new_]
Methods
GLUploadGidBuilder builder()Get builder for [gstgl.glupload.GLUpload] Returns: New builder objectgst.caps.Caps fixateCaps(gst.types.PadDirection direction, gst.caps.Caps caps, gst.caps.Caps othercaps)Fixate the othercaps based on the information of the caps.void getCaps(out gst.caps.Caps inCaps, out gst.caps.Caps outCaps)gstgl.types.GLUploadReturn performWithBuffer(gst.buffer.Buffer buffer, out gst.buffer.Buffer outbufPtr)Uploads buffer using the transformation specified by [gstgl.glupload.GLUpload.setCaps] creating a new #GstBuffer in outbuf_ptr.void proposeAllocation(gst.query.Query decideQuery, gst.query.Query query)Adds the required allocation parameters to support uploading.bool setCaps(gst.caps.Caps inCaps, gst.caps.Caps outCaps)Initializes upload with the information required for upload.void setContext(gstgl.glcontext.GLContext context)gst.caps.Caps transformCaps(gstgl.glcontext.GLContext context, gst.types.PadDirection direction, gst.caps.Caps caps, gst.caps.Caps filter)