Skip to content

API Reference / @gtkx/gl / copyTexSubImage1D

Function: copyTexSubImage1D() ​

copyTexSubImage1D(target, level, xoffset, x, y, width): void

Defined in: packages/gl/src/generated/commands.ts:1418

void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)

Provided by GL_VERSION_1_1. Also known as glCopyTexSubImage1DEXT. GLX render opcode 4121.

Parameters ​

target ​

number

TextureTarget

level ​

number

GLint, kind CheckedInt32

xoffset ​

number

GLint, kind CheckedInt32

x ​

number

GLint, kind WinCoord. This parameter represents a window coordinate.

y ​

number

GLint, kind WinCoord. This parameter represents a window coordinate.

width ​

number

GLsizei

Returns ​

void