7#include <glbinding/gl/types.h>
8#include <glbinding/gl/boolean.h>
10#include <globjects/globjects_api.h>
25 friend class AbstractVertexAttributeBindingImplementation;
31 ,
const gl::GLint bindingIndex);
51 , gl::GLint baseoffset
57 , gl::GLboolean normalized = gl::GL_FALSE
58 , gl::GLuint relativeoffset = 0);
62 , gl::GLuint relativeoffset = 0);
66 , gl::GLuint relativeoffset = 0);
Wrapper for OpenGL buffer objects.
Definition: Buffer.h:38
CRTP for creating objects similar to std::make_unique.
Definition: Instantiator.h:22
Definition: VertexArray.h:26
Definition: VertexAttributeBinding.h:24
void * m_bindingData
Definition: VertexAttributeBinding.h:110
void setValue(const glm::dmat3 &value)
void setValue(const glm::bvec2 &value)
virtual ~VertexAttributeBinding()
void setValue(gl::GLint64 value)
void setValue(const glm::dmat2 &value)
const Buffer * buffer() const
void setAttribute(gl::GLint attributeIndex)
void setValue(const glm::mat3 &value)
void setValue(const glm::mat2 &value)
void setValue(gl::GLbyte value)
void setValue(const glm::vec4 &value)
void setValue(const glm::bvec4 &value)
void setValue(const glm::ivec4 &value)
void setValue(gl::GLfloat value)
void setValue(gl::GLboolean value)
void setValue(const glm::vec3 &value)
void setValue(const glm::mat4 &value)
void setValue(gl::GLdouble value)
void setValue(const glm::dvec4 &value)
void setValue(const glm::ivec3 &value)
const Buffer * m_vbo
Definition: VertexAttributeBinding.h:108
VertexArray * m_vao
Definition: VertexAttributeBinding.h:103
const VertexArray * vao() const
void setLFormat(gl::GLint size, gl::GLenum type, gl::GLuint relativeoffset=0)
void setValue(const glm::dvec2 &value)
VertexAttributeBinding(VertexArray *vao, const gl::GLint bindingIndex)
void setDivisor(gl::GLint divisor)
void setValue(const glm::vec2 &value)
void setIFormat(gl::GLint size, gl::GLenum type, gl::GLuint relativeoffset=0)
void setValue(gl::GLshort value)
void setValue(const glm::ivec2 &value)
gl::GLint m_bindingIndex
Definition: VertexAttributeBinding.h:105
gl::GLint m_attributeIndex
Definition: VertexAttributeBinding.h:106
void setFormat(gl::GLint size, gl::GLenum type, gl::GLboolean normalized=gl::GL_FALSE, gl::GLuint relativeoffset=0)
void setValue(const glm::dvec3 &value)
void setBuffer(const Buffer *vbo, gl::GLint baseoffset, gl::GLint stride)
void setValue(gl::GLint value)
void setValue(const glm::dmat4 &value)
gl::GLint bindingIndex() const
gl::GLint attributeIndex() const
void setValue(const glm::bvec3 &value)
Contains all the classes that wrap OpenGL functionality.