1 #ifndef COIN_SODEPTHBUFFERELEMENT_H
2 #define COIN_SODEPTHBUFFERELEMENT_H
36 #include <Inventor/elements/SoElement.h>
37 #include <Inventor/elements/SoSubElement.h>
38 #include <Inventor/SbVec2f.h>
47 enum DepthWriteFunction {
58 static void set(
SoState * state, SbBool test, SbBool write,
59 DepthWriteFunction
function,
SbVec2f range);
61 static void get(
SoState * state, SbBool & test_out, SbBool & write_out,
62 DepthWriteFunction & function_out,
SbVec2f & range_out);
64 static SbBool getTestEnable(
SoState * state);
65 static SbBool getWriteEnable(
SoState * state);
66 static DepthWriteFunction getFunction(
SoState * state);
80 virtual void setElt(SbBool test, SbBool write,
81 DepthWriteFunction
function,
SbVec2f range);
85 DepthWriteFunction
function;
90 #endif // !COIN_SODEPTHBUFFERELEMENT_H