6 #include <glbinding/gl/types.h> 7 #include <glbinding/gl/boolean.h> 11 #include <globjects/globjects_api.h> 23 friend class AbstractVertexAttributeBindingImplementation;
28 ,
const gl::GLint bindingIndex);
33 void setDivisor(gl::GLint divisor);
35 void setAttribute(gl::GLint attributeIndex);
37 gl::GLint attributeIndex()
const;
38 gl::GLint bindingIndex()
const;
43 const Buffer * buffer()
const;
46 , gl::GLint baseoffset
52 , gl::GLboolean normalized = gl::GL_FALSE
53 , gl::GLuint relativeoffset = 0);
57 , gl::GLuint relativeoffset = 0);
61 , gl::GLuint relativeoffset = 0);
66 void setValue(gl::GLboolean value);
67 void setValue(gl::GLbyte value);
68 void setValue(gl::GLshort value);
69 void setValue(gl::GLint value);
70 void setValue(gl::GLint64 value);
71 void setValue(gl::GLfloat value);
72 void setValue(gl::GLdouble value);
74 void setValue(
const glm::bvec2 & value);
75 void setValue(
const glm::ivec2 & value);
76 void setValue(
const glm::vec2 & value);
77 void setValue(
const glm::dvec2 & value);
79 void setValue(
const glm::bvec3 & value);
80 void setValue(
const glm::ivec3 & value);
81 void setValue(
const glm::vec3 & value);
82 void setValue(
const glm::dvec3 & value);
84 void setValue(
const glm::bvec4 & value);
85 void setValue(
const glm::ivec4 & value);
86 void setValue(
const glm::vec4 & value);
87 void setValue(
const glm::dvec4 & value);
89 void setValue(
const glm::mat2 & value);
90 void setValue(
const glm::mat3 & value);
91 void setValue(
const glm::mat4 & value);
92 void setValue(
const glm::dmat2 & value);
93 void setValue(
const glm::dmat3 & value);
94 void setValue(
const glm::dmat4 & value);
Definition: VertexArray.h:22
Contains all the classes that wrap OpenGL functionality.
Definition: VertexAttributeBinding.h:21
gl::GLint m_attributeIndex
Definition: VertexAttributeBinding.h:103
Wrapper for OpenGL buffer objects.
Definition: Buffer.h:35
VertexArray * m_vao
Definition: VertexAttributeBinding.h:100
gl::GLint m_bindingIndex
Definition: VertexAttributeBinding.h:102
void * m_bindingData
Definition: VertexAttributeBinding.h:107
Superclass for all classes that use reference counting in globjects.
Definition: Referenced.h:22
const Buffer * m_vbo
Definition: VertexAttributeBinding.h:105