GLMemory.init_
void init_(gst.allocator.Allocator allocator, gst.memory.Memory parent, gstgl.glcontext.GLContext context, gstgl.types.GLTextureTarget target, gstgl.types.GLFormat texFormat, gst.allocation_params.AllocationParams params, gstvideo.video_info.VideoInfo info, uint plane, gstvideo.video_alignment.VideoAlignment valign, void * userData = null, glib.types.DestroyNotify notify = null)Initializes mem with the required parameters. info is assumed to have already have been modified with [gstvideo.video_info.VideoInfo.align_].
Parameters
allocator | the #GstAllocator to initialize with |
parent | the parent #GstMemory to initialize with |
context | the #GstGLContext to initialize with |
target | the #GstGLTextureTarget for this #GstGLMemory |
texFormat | the #GstGLFormat for this #GstGLMemory |
params | the GstAllocationParams to initialize with |
info | the #GstVideoInfo for this #GstGLMemory |
plane | the plane number (starting from 0) for this #GstGLMemory |
valign | optional #GstVideoAlignment parameters |
userData | user data to call notify with |
notify | a #GDestroyNotify |