#include <buffer.h>
List of all members.
Public Types |
typedef Object | BaseType |
typedef Buffer | ThisType |
Public Member Functions |
void | drawElements (GLenum target, GLint unit, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
void | getSubData (GLenum target, GLint unit, GLintptr offset, GLsizeiptr size, GLvoid *data) |
bool | isMapped (GLenum target, GLint unit) const |
void * | map (GLenum target, GLint unit, GLenum access) |
GLenum | mapAccess (GLenum target, GLint unit) const |
void * | mapPointer (GLenum target, GLint unit) const |
void | setData (GLenum target, GLint unit, const GLsizeiptr size, GLenum usage, const GLvoid *data) |
void | setSubData (GLenum target, GLint unit, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
GLsizeiptr | size (void) const |
virtual Type | type (void) const |
void | unmap (GLenum target, GLint unit) |
GLenum | usage (void) const |
void | vertexAttribPointer (GLenum target, GLint unit, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *offset) |
virtual | ~Buffer (void) |
Protected Member Functions |
| Buffer (Context *ctx) |
bool | create (const BufferArguments &args) |
virtual void | doDestroy (void) |
virtual bool | doIsValid (void) const |
Protected Attributes |
GLenum | m_mapAccess |
void * | m_mapPointer |
GLsizeiptr | m_size |
GLenum | m_usage |
Friends |
class | Context |
Detailed Description
Definition at line 47 of file buffer.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
void glw::Buffer::drawElements |
( |
GLenum |
target, |
|
|
GLint |
unit, |
|
|
GLenum |
mode, |
|
|
GLsizei |
count, |
|
|
GLenum |
type, |
|
|
const GLvoid * |
indices |
|
) |
| [inline] |
void glw::Buffer::getSubData |
( |
GLenum |
target, |
|
|
GLint |
unit, |
|
|
GLintptr |
offset, |
|
|
GLsizeiptr |
size, |
|
|
GLvoid * |
data |
|
) |
| [inline] |
void glw::Buffer::setData |
( |
GLenum |
target, |
|
|
GLint |
unit, |
|
|
const GLsizeiptr |
size, |
|
|
GLenum |
usage, |
|
|
const GLvoid * |
data |
|
) |
| [inline] |
void glw::Buffer::setSubData |
( |
GLenum |
target, |
|
|
GLint |
unit, |
|
|
GLintptr |
offset, |
|
|
GLsizeiptr |
size, |
|
|
const GLvoid * |
data |
|
) |
| [inline] |
void glw::Buffer::vertexAttribPointer |
( |
GLenum |
target, |
|
|
GLint |
unit, |
|
|
GLuint |
index, |
|
|
GLint |
size, |
|
|
GLenum |
type, |
|
|
GLboolean |
normalized, |
|
|
GLsizei |
stride, |
|
|
const GLvoid * |
offset |
|
) |
| [inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: