§ BufferEntries
§ GLBufferObject()
osg::GLBufferObject::GLBufferObject |
( |
unsigned int |
contextID, |
|
|
BufferObject * |
bufferObject, |
|
|
unsigned int |
glObjectID = 0 |
|
) |
| |
§ ~GLBufferObject()
virtual osg::GLBufferObject::~GLBufferObject |
( |
| ) |
|
|
protectedvirtual |
§ assign()
void osg::GLBufferObject::assign |
( |
BufferObject * |
bufferObject | ) |
|
§ bindBuffer()
void osg::GLBufferObject::bindBuffer |
( |
| ) |
|
|
inline |
§ clear()
void osg::GLBufferObject::clear |
( |
| ) |
|
§ compileBuffer()
void osg::GLBufferObject::compileBuffer |
( |
| ) |
|
§ computeBufferAlignment()
unsigned int osg::GLBufferObject::computeBufferAlignment |
( |
unsigned int |
pos, |
|
|
unsigned int |
bufferAlignment |
|
) |
| const |
|
inlineprotected |
§ createGLBufferObject()
§ deleteAllBufferObjects()
static void osg::GLBufferObject::deleteAllBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
§ deleteGLObject()
void osg::GLBufferObject::deleteGLObject |
( |
| ) |
|
§ dirty()
void osg::GLBufferObject::dirty |
( |
| ) |
|
|
inline |
§ discardAllBufferObjects()
static void osg::GLBufferObject::discardAllBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
§ discardAllDeletedBufferObjects()
static void osg::GLBufferObject::discardAllDeletedBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
§ flushAllDeletedBufferObjects()
static void osg::GLBufferObject::flushAllDeletedBufferObjects |
( |
unsigned int |
contextID | ) |
|
|
static |
§ flushDeletedBufferObjects()
static void osg::GLBufferObject::flushDeletedBufferObjects |
( |
unsigned int |
contextID, |
|
|
double |
currentTime, |
|
|
double & |
availbleTime |
|
) |
| |
|
static |
§ getBufferObject()
§ getContextID()
unsigned int osg::GLBufferObject::getContextID |
( |
| ) |
const |
|
inline |
§ getExtensions()
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..
§ getGLObjectID() [1/2]
GLuint& osg::GLBufferObject::getGLObjectID |
( |
| ) |
|
|
inline |
§ getGLObjectID() [2/2]
GLuint osg::GLBufferObject::getGLObjectID |
( |
| ) |
const |
|
inline |
§ getOffset()
GLsizeiptrARB osg::GLBufferObject::getOffset |
( |
unsigned int |
i | ) |
const |
|
inline |
§ getProfile()
§ hasAllBufferDataBeenRead()
bool osg::GLBufferObject::hasAllBufferDataBeenRead |
( |
| ) |
const |
§ isDirty()
bool osg::GLBufferObject::isDirty |
( |
| ) |
const |
|
inline |
§ isPBOSupported()
bool osg::GLBufferObject::isPBOSupported |
( |
| ) |
const |
|
inline |
§ releaseGLBufferObject()
static void osg::GLBufferObject::releaseGLBufferObject |
( |
unsigned int |
contextID, |
|
|
GLBufferObject * |
to |
|
) |
| |
|
static |
§ setBufferDataHasBeenRead()
void osg::GLBufferObject::setBufferDataHasBeenRead |
( |
const osg::BufferData * |
bd | ) |
|
§ setBufferObject()
void osg::GLBufferObject::setBufferObject |
( |
BufferObject * |
bufferObject | ) |
|
§ setExtensions()
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.
§ setProfile()
§ unbindBuffer()
void osg::GLBufferObject::unbindBuffer |
( |
| ) |
|
|
inline |
§ _allocatedSize
unsigned int osg::GLBufferObject::_allocatedSize |
|
protected |
§ _bufferEntries
§ _bufferObject
§ _contextID
unsigned int osg::GLBufferObject::_contextID |
|
protected |
§ _dirty
bool osg::GLBufferObject::_dirty |
|
protected |
§ _extensions
§ _frameLastUsed
unsigned int osg::GLBufferObject::_frameLastUsed |
§ _glObjectID
GLuint osg::GLBufferObject::_glObjectID |
|
protected |
§ _next
§ _previous
§ _profile
§ _set
The documentation for this class was generated from the following file: