Skip to content

API Reference / @gtkx/gl / textureBufferRange

Function: textureBufferRange()

textureBufferRange(texture, internalformat, buffer, offset, size): void

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

void glTextureBufferRange(GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size)

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

internalformat

number

SizedInternalFormat

buffer

number

GLuint, object class buffer

offset

number

GLintptr

size

number

GLsizeiptr, kind BufferSize. This parameter represents the size of a buffer.

Returns

void

Released under the MPL-2.0 License.