GLAttribute

Represent an OpenGL program attribute. Owned by a GLProgram.

Constructors

this
this(OpenGL gl, string name, GLint location, GLenum type, GLsizei size)
Undocumented in source.
this
this(OpenGL gl, string name)

Creates a fake disabled attribute, designed to cope with attribute that have been optimized out by the OpenGL driver, or those which do not exist.

Members

Functions

location
GLint location()
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fakeLocation
enum GLint fakeLocation;
Undocumented in source.

See Also

GLProgram.

Meta