HDK
|
Generator context data class to pass strings. More...
#include <MdlShaderGenerator.h>
Public Types | |
enum | MdlVersion { MdlVersion::MDL_1_6, MdlVersion::MDL_1_7, MdlVersion::MDL_1_8, MdlVersion::MDL_LATEST = MDL_1_8 } |
MDL Versions supported by the Code Generator. More... | |
Public Member Functions | |
GenMdlOptions () | |
Create MDL code generator options with default values. More... | |
Public Member Functions inherited from GenUserData | |
virtual | ~GenUserData () |
GenUserDataPtr | getSelf () |
Return a shared pointer for this object. More... | |
ConstGenUserDataPtr | getSelf () const |
Return a shared pointer for this object. More... | |
template<class T > | |
shared_ptr< T > | asA () |
Return this object cast to a templated type. More... | |
template<class T > | |
shared_ptr< const T > | asA () const |
Return this object cast to a templated type. More... | |
Public Attributes | |
MdlVersion | targetVersion |
Static Public Attributes | |
static const string | GEN_CONTEXT_USER_DATA_KEY |
Unique identifier for the MDL options on the GenContext object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GenUserData | |
GenUserData () | |
Generator context data class to pass strings.
Definition at line 19 of file MdlShaderGenerator.h.
|
strong |
MDL Versions supported by the Code Generator.
Enumerator | |
---|---|
MDL_1_6 | |
MDL_1_7 | |
MDL_1_8 | |
MDL_LATEST |
Definition at line 23 of file MdlShaderGenerator.h.
|
inline |
Create MDL code generator options with default values.
Definition at line 32 of file MdlShaderGenerator.h.
|
static |
Unique identifier for the MDL options on the GenContext object.
Definition at line 36 of file MdlShaderGenerator.h.
MdlVersion GenMdlOptions::targetVersion |
The MDL version number the generated module will have. Allows to generate MDL for older applications by limiting support according to the corresponding specification. By default this option is MDL_LATEST.
Definition at line 41 of file MdlShaderGenerator.h.