List of all members.
Detailed Description
Multisample - encapsulates the OpenGL Multisample state.
Member Enumeration Documentation
Constructor & Destructor Documentation
osg::Multisample::Multisample |
( |
|
) |
|
osg::Multisample::Multisample |
( |
const Multisample & |
trans, |
|
|
const CopyOp & |
copyop = CopyOp::SHALLOW_COPY | |
|
) |
| | [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::Multisample::~Multisample |
( |
|
) |
[protected, virtual] |
Member Function Documentation
virtual void osg::Multisample::apply |
( |
State & |
|
) |
const [virtual] |
apply the OpenGL state attributes. The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.
Reimplemented from osg::StateAttribute.
virtual int osg::Multisample::compare |
( |
const StateAttribute & |
sa |
) |
const [inline, virtual] |
float osg::Multisample::getCoverage |
( |
|
) |
const [inline] |
static Extensions* osg::Multisample::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 will only be created with the graphics context associated with ContextID..
Mode osg::Multisample::getHint |
( |
|
) |
const [inline] |
bool osg::Multisample::getInvert |
( |
|
) |
const [inline] |
osg::Multisample::META_StateAttribute |
( |
osg |
, |
|
|
Multisample |
, |
|
|
MULTISAMPLE |
| |
|
) |
| | |
void osg::Multisample::setCoverage |
( |
float |
coverage |
) |
[inline] |
static void osg::Multisample::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::Multisample::setHint |
( |
Mode |
mode |
) |
[inline] |
void osg::Multisample::setInvert |
( |
bool |
invert |
) |
[inline] |
void osg::Multisample::setSampleCoverage |
( |
float |
coverage, |
|
|
bool |
invert | |
|
) |
| | [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: