Skip to content

API Reference / @gtkx/gl / copyTextureSubImage1D

Function: copyTextureSubImage1D() ​

copyTextureSubImage1D(texture, level, xoffset, x, y, width): void

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

void glCopyTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)

Provided by GL_VERSION_4_5. Registry note: Reuse GL_ARB_direct_state_access Also provided by the GL_ARB_direct_state_access extension. GL_ARB_direct_state_access note: Texture object functions.

Parameters ​

texture ​

number

GLuint, object class texture

level ​

number

GLint

xoffset ​

number

GLint

x ​

number

GLint

y ​

number

GLint

width ​

number

GLsizei

Returns ​

void