|
hx3d
1
2D/3D Simple Game Framework
|
OpenGL buffer attribute. More...
#include <attribute.hpp>
Public Member Functions | |
| Attribute () | |
| Construct an empty attribute. | |
| Attribute (const std::string name, const GLenum type, const GLuint size) | |
| Construct a buffer attribute. More... | |
| const std::string | getName () const |
| Get the attribute name. More... | |
| const GLenum | getType () const |
| Get the attribute type. More... | |
| const GLuint | getSize () const |
| Get the attribute size. More... | |
OpenGL buffer attribute.
Definition at line 35 of file attribute.hpp.
| hx3d::graphics::buffers::Attribute::Attribute | ( | const std::string | name, |
| const GLenum | type, | ||
| const GLuint | size | ||
| ) |
Construct a buffer attribute.
| name | Attribute name (in the shader) |
| type | Attribute type (GL_FLOAT, etc.) |
| size | Attribute size (1, 2, 3, 4) |
Definition at line 30 of file attribute.cpp.
| const std::string hx3d::graphics::buffers::Attribute::getName | ( | ) | const |
| const GLuint hx3d::graphics::buffers::Attribute::getSize | ( | ) | const |
| const GLenum hx3d::graphics::buffers::Attribute::getType | ( | ) | const |
1.8.11