struct Gloop::VertexArray::Bindings
- Gloop::VertexArray::Bindings
- Struct
- Value
- Object
Overview
Information about all of the binding slots in a vertex array.
This type uses direct state access (DSA). Ensure the OpenGL context supports this functionality prior to use.
Included Modules
- Gloop::Contextual
- Gloop::Parameters
- Indexable(Gloop::VertexArray::Binding)
Defined in:
gloop/vertex_array/bindings.crConstructors
-
.new(context : Context, name : Name)
Creates a references to the binding slots.
Instance Method Summary
-
#size
Retrieves the maximum number of attributes a vertex array can have.
-
#unsafe_fetch(index : Int)
Retrieves a binding slot from the vertex array.
Constructor Detail
Creates a references to the binding slots.
Instance Method Detail
def size
#
Retrieves the maximum number of attributes a vertex array can have.
- OpenGL function:
glGetIntegerv
- OpenGL enum:
GL_MAX_VERTEX_ATTRIB_BINDINGS
- OpenGL version: 4.3