|
Public Types |
enum | Mode { FASTEST = GL_FASTEST,
NICEST = GL_NICEST,
DONT_CARE = GL_DONT_CARE
} |
Public Member Functions |
| Multisample () |
| Multisample (const Multisample &trans, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| Copy constructor using CopyOp to manage deep vs shallow copy.
|
| META_StateAttribute (osg, Multisample, MULTISAMPLE) |
virtual int | compare (const StateAttribute &sa) const |
| return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
|
void | setSampleCoverage (float coverage, bool invert) |
float | getCoverage () const |
bool | getInvert () const |
void | setHint (Mode mode) |
virtual void | apply (State &state) const |
| apply the OpenGL state attributes.
|
Static Public Member Functions |
static Extensions * | getExtensions (unsigned int contextID, bool createIfNotInitalized) |
| Function to call to get the extension of a specified context.
|
static void | setExtensions (unsigned int contextID, Extensions *extensions) |
| setExtensions allows users to override the extensions across graphics contexts.
|
Protected Member Functions |
virtual | ~Multisample () |
Protected Attributes |
float | _coverage |
bool | _invert |
Mode | _mode |
Classes |
class | Extensions |
| Extensions class which encapsulates the querying of extensions and associated function pointers, and provide convenience wrappers to check for the extensions or use the associated functions. More...
|