Skip to content

API Reference / @gtkx/gl / copyImageSubData

Function: copyImageSubData()

copyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth): void

Defined in: generated/commands.d.ts:1100

void glCopyImageSubData(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth)

Provided by GL_VERSION_4_3. Registry note: Reuse commands from ARB_copy_image Also provided by the GL_ARB_copy_image extension. Also known as glCopyImageSubDataEXT, glCopyImageSubDataOES.

Parameters

srcName

number

GLuint

srcTarget

number

CopyImageSubDataTarget

srcLevel

number

GLint

srcX

number

GLint

srcY

number

GLint

srcZ

number

GLint

dstName

number

GLuint

dstTarget

number

CopyImageSubDataTarget

dstLevel

number

GLint

dstX

number

GLint

dstY

number

GLint

dstZ

number

GLint

srcWidth

number

GLsizei

srcHeight

number

GLsizei

srcDepth

number

GLsizei

Returns

void

Released under the MPL-2.0 License.