GLMemory.copyTeximage

bool copyTeximage(uint texId, gstgl.types.GLTextureTarget outTarget, gstgl.types.GLFormat outTexFormat, int outWidth, int outHeight)

Copies the texture in #GstGLMemory into the texture specified by tex_id, out_target, out_tex_format, out_width and out_height.

Parameters

texIdthe destination texture id
outTargetthe destination #GstGLTextureTarget
outTexFormatthe destination #GstGLFormat
outWidththe destination width
outHeightthe destination height

Returns

whether the copy succeeded.