Skip to content

API Reference / @gtkx/gl / textureBuffer

Function: textureBuffer() ​

textureBuffer(texture, internalformat, buffer): void

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

void glTextureBuffer(GLuint texture, GLenum internalformat, GLuint buffer)

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

Returns ​

void