Skip to content

API Reference / @gtkx/gl / compressedTextureSubImage1D

Function: compressedTextureSubImage1D()

compressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, data): void

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

void glCompressedTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data)

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

width

number

GLsizei

format

number

InternalFormat

imageSize

number

GLsizei

data

number | ArrayBufferView<ArrayBufferLike> | null

ArrayBufferView | GLintptr | null, length imageSize

Returns

void

Released under the MPL-2.0 License.