Implements OpenGL buffer objects maintenance RAII base class.
More...
#include <BaseBuffer.h>
|
|
const unsigned int | target |
| | Holds where the maintained buffer object is to be bound to by glBindBuffer.
|
| |
|
const unsigned int | id |
| | Holds the ID of the maintained OpenGL buffer object.
|
| |
|
|
bool | valid |
| | Flag that indicates whether the maintained OpenGL buffer object is valid.
|
| |
Implements OpenGL buffer objects maintenance RAII base class.
- Author
- Leonid Kostrykin
- Date
- 1.9.14 - 14.3.15
Definition at line 39 of file BaseBuffer.h.
| Carna::base::BaseBuffer::BaseBuffer |
( |
unsigned int |
target | ) |
|
|
explicitprotected |
Acquires new OpenGL buffer object.
- Parameters
-
| target | specifies where the buffer object is to be bound to by glBindBuffer. |
The documentation for this class was generated from the following file: