#include <Inventor/elements/SoStencilBitsElement.h>
|
static uint32_t | acquireBits (SoState *state, SoNode *node, int num) |
| Acquires a certain number of bits for stencil operations. More...
|
|
static void | releaseBits (SoState *state, uint32_t mask) |
| Releases the stencil bits specified by the mask. More...
|
|
static void | clearBitsInUse (SoState *state) |
| Forget about the stencil bits in use. More...
|
|
static uint32_t | get (SoState *state) |
| Returns a mask of the current stencil bits in use. More...
|
|
static uint32_t | getDefault () |
| Returns the default mask of stencil bits in use. More...
|
|
static int | getNumRemainingBits (SoState *state) |
| Returns the number of stencil bits not currently used. More...
|
|
static void | initClass () |
| Initializes the SoStencilBitsElement class. More...
|
|
static void | initClass () |
| Initializes the SoInt32Element class. More...
|
|
static void | set (int stackIndex, SoState *state, int32_t value) |
| Set value. More...
|
|
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. More...
|
|
static SoType | getClassTypeId () |
| Returns type identifier for SoElement class. More...
|
|
static void | initElements () |
| Initialize ALL Inventor element classes. More...
|
|
static void | initClass () |
| Initializes the SoElement class. More...
|
|
static int | getNumStackIndices () |
| Returns the number of stack indices allocated. More...
|
|
static SoType | getIdFromStackIndex (int stackIndex) |
| Returns the id for the element with the given stack index. More...
|
|
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.1.1_0/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/elements/SoStencilBitsElement.h