HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GenMdlOptions Class Reference

Generator context data class to pass strings. More...

#include <MdlShaderGenerator.h>

+ Inheritance diagram for GenMdlOptions:

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< TasA ()
 Return this object cast to a templated type. More...
 
template<class T >
shared_ptr< const TasA () 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 ()
 

Detailed Description

Generator context data class to pass strings.

Definition at line 19 of file MdlShaderGenerator.h.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

GenMdlOptions::GenMdlOptions ( )
inline

Create MDL code generator options with default values.

Definition at line 32 of file MdlShaderGenerator.h.

Member Data Documentation

const string GenMdlOptions::GEN_CONTEXT_USER_DATA_KEY
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.


The documentation for this class was generated from the following file: