GLMemory.copyInto

Copies gl_mem into the texture specified by tex_id. The format of tex_id is specified by tex_format, width and height.

Parameters

texId uint

OpenGL texture id

target gstgl.types.GLTextureTarget

the #GstGLTextureTarget

texFormat gstgl.types.GLFormat

the #GstGLFormat

width int

width of tex_id

height int

height of tex_id

Return Value

Type: bool

Whether the copy succeeded