ANSYS::Nexus::GLTFWriter::State Class Reference
Last update: 17.04.2023States are GL state settings. More...
#include <GLTFWriter.h>
Inheritance diagram for ANSYS::Nexus::GLTFWriter::State:
Public Types | |
enum | StateType { ST_UNKNOWN , ST_BLENDENABLE , ST_CULLFACE , ST_CULLFACEENABLE , ST_DEPTHFUNC , ST_DEPTHMASK , ST_DEPTHTESTENABLE , ST_FRONTFACE , ST_LINEWIDTH , ST_POLYGONOFFSET , ST_POLYGONOFFSETFILLENABLE } |
Static Public Member Functions | |
static State * | Create (GLTF *gltf, StateType type, double v1, double v2=0, double v3=0, double v4=0) |
Detailed Description
States are GL state settings.
Definition at line 155 of file GLTFTechnique.h.
Member Enumeration Documentation
◆ StateType
Type of State.
Definition at line 159 of file GLTFTechnique.h.
Member Function Documentation
◆ Create()
|
static |
Creates a GL State.
- Returns
- State object. Do not delete this pointer.
- Parameters
-
[in] gltf GLTF object. [in] type State::StateType defining type of state to create [in] v1 Value of state that require one or more values. [in] v2 Optional, value for states that require two or more values. [in] v3 Optional, value for states that require three or more values. [in] v4 Optional, value for states that require four values.
- Examples
- Test002.cpp, Test005.cpp, Test008.cpp, Test009.cpp, Test010.cpp, Test013.cpp, and Test014.cpp.
The documentation for this class was generated from the following file:
- D:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/webgl_viewer/gltfwriterlib/include/GLTFTechnique.h