Skip to content

Inconsistencies related to buffer texture pnames #102

@matrefeytontias

Description

@matrefeytontias

In the latest refpages on the glGet page, GL_TEXTURE_BINDING_BUFFER has two incompatible definitions :

GL_TEXTURE_BINDING_BUFFER

    data returns a single value, the name of the texture currently bound to the target GL_TEXTURE_BUFFER. The initial value is 0. See glBindTexture. 
GL_TEXTURE_BINDING_BUFFER

    data returns a single value, the name of the buffer object currently bound to the GL_TEXTURE_BUFFER buffer binding point. The initial value is 0. See glBindBuffer. 

Moreover, glGetTexLevelParameter does not list GL_TEXTURE_BUFFER_DATA_STORE_BINDING as an accepted pname, in contrast with eg the OpenGL ES 3 refpages that do list it. Besides, the OpenGL 4.6 core spec makes no mention of this pname.

Worthy of note is also that the refpage for glBindBuffer does not mention a pname for getting the buffer bound to GL_TEXTURE_BUFFER.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions