Member Typedef Documentation
Constructor & Destructor Documentation
osg::GLBufferObject::GLBufferObject |
( |
unsigned int |
contextID, |
|
|
BufferObject * |
bufferObject, |
|
|
unsigned int |
glObjectID = 0 |
|
) |
| |
virtual osg::GLBufferObject::~GLBufferObject |
( |
| ) |
|
|
protectedvirtual |
Member Function Documentation
void osg::GLBufferObject::bindBuffer |
( |
| ) |
|
|
inline |
void osg::GLBufferObject::clear |
( |
| ) |
|
void osg::GLBufferObject::compileBuffer |
( |
| ) |
|
unsigned int osg::GLBufferObject::computeBufferAlignment |
( |
unsigned int |
pos, |
|
|
unsigned int |
bufferAlignment |
|
) |
| const |
|
inlineprotected |
static void osg::GLBufferObject::deleteAllBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
void osg::GLBufferObject::deleteGLObject |
( |
| ) |
|
void osg::GLBufferObject::dirty |
( |
| ) |
|
|
inline |
static void osg::GLBufferObject::discardAllBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
static void osg::GLBufferObject::discardAllDeletedBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
static void osg::GLBufferObject::flushAllDeletedBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
static void osg::GLBufferObject::flushDeletedBufferObjects |
( |
unsigned int |
contextID, |
|
|
double |
currentTime, |
|
|
double & |
availbleTime |
|
) |
| |
|
static |
unsigned int osg::GLBufferObject::getContextID |
( |
| ) |
const |
|
inline |
static Extensions* osg::GLBufferObject::getExtensions |
( |
unsigned int |
contextID, |
|
|
bool |
createIfNotInitalized |
|
) |
| |
|
static |
Function to call to get the extension of a specified context. If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object is only created with the graphics context associated with ContextID..
GLuint& osg::GLBufferObject::getGLObjectID |
( |
| ) |
|
|
inline |
GLuint osg::GLBufferObject::getGLObjectID |
( |
| ) |
const |
|
inline |
GLsizeiptrARB osg::GLBufferObject::getOffset |
( |
unsigned int |
i | ) |
const |
|
inline |
bool osg::GLBufferObject::isDirty |
( |
| ) |
const |
|
inline |
bool osg::GLBufferObject::isPBOSupported |
( |
| ) |
const |
|
inline |
static void osg::GLBufferObject::releaseGLBufferObject |
( |
unsigned int |
contextID, |
|
|
GLBufferObject * |
to |
|
) |
| |
|
static |
static void osg::GLBufferObject::setExtensions |
( |
unsigned int |
contextID, |
|
|
Extensions * |
extensions |
|
) |
| |
|
static |
setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.
void osg::GLBufferObject::unbindBuffer |
( |
| ) |
|
|
inline |
Member Data Documentation
unsigned int osg::GLBufferObject::_allocatedSize |
|
protected |
unsigned int osg::GLBufferObject::_contextID |
|
protected |
bool osg::GLBufferObject::_dirty |
|
protected |
unsigned int osg::GLBufferObject::_frameLastUsed |
GLuint osg::GLBufferObject::_glObjectID |
|
protected |
The documentation for this class was generated from the following file: