Ion
|
A BufferInfo corresponds to an OpenGL Buffer Object. More...
#include "openglobjects.h"
Public Member Functions | |
BufferInfo () | |
Public Attributes | |
GLsizeiptr | size |
The number of bytes of buffer data. More... | |
GLenum | usage |
The usage pattern, one of GL_STREAM_DRAW, GL_STATIC_DRAW, or GL_DYNAMIC_DRAW. More... | |
GLvoid * | mapped_data |
The data pointer of the buffer if it is mapped, or NULL. More... | |
A BufferInfo corresponds to an OpenGL Buffer Object.
Definition at line 85 of file openglobjects.h.
|
inline |
Definition at line 86 of file openglobjects.h.
GLvoid* ion::gfx::BufferInfo< T >::mapped_data |
The data pointer of the buffer if it is mapped, or NULL.
Definition at line 96 of file openglobjects.h.
GLsizeiptr ion::gfx::BufferInfo< T >::size |
The number of bytes of buffer data.
Definition at line 91 of file openglobjects.h.
GLenum ion::gfx::BufferInfo< T >::usage |
The usage pattern, one of GL_STREAM_DRAW, GL_STATIC_DRAW, or GL_DYNAMIC_DRAW.
Definition at line 94 of file openglobjects.h.