|
| enum | type |
| | Possible types of buffer ID's. More...
|
| |
| bool | bindBuffer () const |
| | const version of bind(), does not create a buffer ID.
|
| |
| bool | bindBufferWithPossibleCreation () |
| | Non-const version of bind().
|
| |
| | BufferID (const type bufferType) noexcept |
| | The constructor does not yet create openGL buffers yet.
|
| |
| GLuint | createId () noexcept |
| | If no valid ID yet, call glCreateBuffers().
|
| |
| GLuint | getId () const noexcept |
| | Get an Id without attempting to generate it.
|
| |
|
bool | isbound () const throw () |
| | Verification function: buffer is bound?
|
| |
|
bool | isIndexBuffer () const |
| | Check whether this is an index buffer.
|
| |
|
bool | isVertexArray () const |
| | Check whether this is a vertex array.
|
| |
|
GLuint | makeId () |
| | On first access, OpenGL buffers will be generated. This function must be called from within a valid OpenGL context.
|
| |
|
GLuint | operator() () |
| | On first access, OpenGL buffers will be generated. This function must be called from within a valid OpenGL context.
|
| |
| | ~BufferID () noexcept |
| | Deletion of created OpenGL buffers. Note that this might be problematic here if called outside a valid OpenGL context.
|
| |
|
const type | target |
| | The target type of this buffer ID.
|
| |