openscenegraph
|
Protected Member Functions | |
void | init () |
![]() | |
GraphicsContext () | |
GraphicsContext (const GraphicsContext &, const osg::CopyOp &) | |
virtual | ~GraphicsContext () |
virtual Object * | cloneType () const |
virtual Object * | clone (const CopyOp &) const |
void | addCamera (osg::Camera *camera) |
void | removeCamera (osg::Camera *camera) |
![]() | |
virtual | ~Object () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
bool | _initialized |
bool | _valid |
bool | _realized |
int | _boundBuffer |
![]() | |
Cameras | _cameras |
ref_ptr< Traits > | _traits |
ref_ptr< State > | _state |
Vec4 | _clearColor |
GLbitfield | _clearMask |
OpenThreads::Thread * | _threadOfLastMakeCurrent |
OpenThreads::Mutex | _operationsMutex |
osg::ref_ptr< osg::RefBlock > | _operationsBlock |
GraphicsOperationQueue | _operations |
osg::ref_ptr< Operation > | _currentOperation |
ref_ptr< GraphicsThread > | _graphicsThread |
ref_ptr< ResizedCallback > | _resizedCallback |
ref_ptr< SwapCallback > | _swapCallback |
Timer_t | _lastClearTick |
GLuint | _defaultFboId |
![]() | |
std::string | _name |
DataVariance | _dataVariance |
osg::UserDataContainer * | _userDataContainer |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
![]() | |
HWND | _hwnd |
HDC | _hdc |
HGLRC | _hglrc |
osgViewer::PixelBufferWin32::PixelBufferWin32 | ( | osg::GraphicsContext::Traits * | traits | ) |
|
virtual |
|
virtual |
Pure virtual, Bind the graphics context to associated texture implementation. Pure virtual - must be implemented by concrete implementations of GraphicsContext.
Implements osg::GraphicsContext.
|
inlinevirtual |
return the name of the object's class type. Must be defined by derived classes.
Reimplemented from osg::GraphicsContext.
|
virtual |
Close the graphics context.
Implements osg::GraphicsContext.
|
protected |
|
inlinevirtual |
Return true if the graphics context has been realized and is ready to use.
Implements osg::GraphicsContext.
|
inlinevirtual |
|
inlinevirtual |
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Reimplemented from osg::GraphicsContext.
|
virtual |
|
virtual |
Make this graphics context current.
Implements osg::GraphicsContext.
|
virtual |
Realize the GraphicsContext.
Implements osg::GraphicsContext.
|
virtual |
Release the graphics context.
Implements osg::GraphicsContext.
|
virtual |
Swap the front and back buffers.
Implements osg::GraphicsContext.
|
inlinevirtual |
Return whether a valid and usable GraphicsContext has been created.
Implements osg::GraphicsContext.
|
protected |
|
protected |
|
protected |
|
protected |