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
texId | the destination texture id |
outTarget | the destination #GstGLTextureTarget |
outTexFormat | the destination #GstGLFormat |
outWidth | the destination width |
outHeight | the destination height |
Returns
whether the copy succeeded.