fast::VertexBufferObjectAccess class

Public types

using pointer = std::unique_ptr<VertexBufferObjectAccess>

Constructors, destructors, conversion operators

VertexBufferObjectAccess(GLuint coordinateVBO, GLuint normalVBO, GLuint colorVBO, GLuint lineEBO, GLuint triangleEBO, bool useNormalVBO, bool useColorVBO, bool useEBO, std::shared_ptr<Mesh> mesh)
~VertexBufferObjectAccess()

Public functions

auto getCoordinateVBO() const -> GLuint*
auto getNormalVBO() const -> GLuint*
auto getColorVBO() const -> GLuint*
auto getLineEBO() const -> GLuint*
auto getTriangleEBO() const -> GLuint*
auto hasNormalVBO() const -> bool
auto hasColorVBO() const -> bool
auto hasEBO() const -> bool
void release()