![]() |
Kale
|
Classes | |
class | Buffer |
class | Core |
class | Shader |
class | VertexArray |
Enumerations | |
enum class | BufferType : GLenum { ElementBuffer = GL_ELEMENT_ARRAY_BUFFER , VertexBuffer = GL_ARRAY_BUFFER , TextureBuffer = GL_TEXTURE_BUFFER } |
enum class | BufferUsage : GLenum { Static = GL_STATIC_DRAW , Dynamic = GL_DYNAMIC_DRAW } |
enum class | DrawType : GLenum { Triangles = GL_TRIANGLES , Points = GL_POINTS , Lines = GL_LINES } |
Functions | |
template<typename T > | |
GLenum | getEnumValue (T value) |
Forward declaration of OpenGL namespace
|
strong |
The type of buffer a buffer can hold
Enumerator | |
---|---|
ElementBuffer | |
VertexBuffer | |
TextureBuffer |
Definition at line 34 of file Buffer.hpp.
|
strong |
The usage of the buffer, static isn't modified frequently whereas dynamic is
Enumerator | |
---|---|
Static | |
Dynamic |
Definition at line 43 of file Buffer.hpp.
|
strong |
Type of object to draw
Enumerator | |
---|---|
Triangles | |
Points | |
Lines |
Definition at line 32 of file VertexArray.hpp.