#include <Inventor/elements/SoStencilBitsElement.h>
|
| static uint32_t | acquireBits (SoState *state, SoNode *node, int num) |
| | Acquires a certain number of bits for stencil operations.
|
| |
| static void | releaseBits (SoState *state, uint32_t mask) |
| | Releases the stencil bits specified by the mask.
|
| |
| static void | clearBitsInUse (SoState *state) |
| | Forget about the stencil bits in use.
|
| |
| static uint32_t | get (SoState *state) |
| | Returns a mask of the current stencil bits in use.
|
| |
| static uint32_t | getDefault () |
| | Returns the default mask of stencil bits in use.
|
| |
| static int | getNumRemainingBits (SoState *state) |
| | Returns the number of stencil bits not currently used.
|
| |
| static void | initClass () |
| | Initializes the SoStencilBitsElement class.
|
| |
| static void | initClass () |
| | Initializes the SoInt32Element class.
|
| |
| static void | set (int stackIndex, SoState *state, int32_t value) |
| | Set value.
|
| |
| static void | set (int stackIndex, SoState *state, SoNode *, int32_t value) |
| |
| static void | set (int stackIndex, SoState *state, SoNode *, long value) |
| |
| static int32_t | get (int stackIndex, SoState *state) |
| | Get value.
|
| |
| static SoType | getClassTypeId () |
| | Returns type identifier for SoElement class.
|
| |
| static void | initElements () |
| | Initialize ALL Inventor element classes.
|
| |
| static void | initClass () |
| | Initializes the SoElement class.
|
| |
| static int | getNumStackIndices () |
| | Returns the number of stack indices allocated.
|
| |
| static SoType | getIdFromStackIndex (int stackIndex) |
| | Returns the id for the element with the given stack index.
|
| |
Definition at line 9 of file SoStencilBitsElement.h.
◆ ~SoStencilBitsElement()
| virtual SoStencilBitsElement::~SoStencilBitsElement |
( |
| ) |
|
|
protectedvirtual |
◆ acquireBits()
This returns a mask of the acquired bits or 0x0 if there are not enough stencil bits available.
◆ clearBitsInUse()
| static void SoStencilBitsElement::clearBitsInUse |
( |
SoState * |
state | ) |
|
|
static |
This is required e.g. for framebuffer objects which use the same GL context but have a different stencil buffer. In that case the currently aquired stencil bits are not valid for this buffer. The programmer must then clear the used stencil bits of the element.
◆ get()
◆ getDefault()
| static uint32_t SoStencilBitsElement::getDefault |
( |
| ) |
|
|
inlinestatic |
◆ getNumBitPositionsToShift()
| static int SoStencilBitsElement::getNumBitPositionsToShift |
( |
uint32_t |
mask, |
|
|
SoState * |
state |
|
) |
| |
|
staticprotected |
◆ getNumGLBits()
| int SoStencilBitsElement::getNumGLBits |
( |
| ) |
const |
|
protected |
◆ getNumRemainingBits()
| static int SoStencilBitsElement::getNumRemainingBits |
( |
SoState * |
state | ) |
|
|
static |
◆ init()
| virtual void SoStencilBitsElement::init |
( |
SoState * |
state | ) |
|
|
virtual |
◆ initClass()
| static void SoStencilBitsElement::initClass |
( |
| ) |
|
|
static |
◆ push()
| virtual void SoStencilBitsElement::push |
( |
SoState * |
state | ) |
|
|
virtual |
◆ releaseBits()
| static void SoStencilBitsElement::releaseBits |
( |
SoState * |
state, |
|
|
uint32_t |
mask |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.2.0_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/elements/SoStencilBitsElement.h