HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TypeDesc.h File Reference
#include <MaterialXGenShader/Export.h>
#include <MaterialXCore/Value.h>
#include <MaterialXCore/Document.h>
#include <string_view>
+ Include dependency graph for TypeDesc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TypeDesc
 
class  TypeDesc::DataBlock
 Data block holding large data needed by the type description. More...
 
struct  TypeDesc::Hasher
 Hash operator. More...
 
class  StructMemberDesc
 
class  TypeSystem
 

Namespaces

 Type
 

Macros

#define TYPEDESC_DEFINE_TYPE(T, name, basetype, semantic, size)
 Macro to define global type descriptions for commonly used types. More...
 

Typedefs

using TypeDescVec = vector< TypeDesc >
 
using TypeDescMap = std::unordered_map< string, TypeDesc >
 
using StructMemberDescVec = vector< StructMemberDesc >
 
using StructMemberDescVecPtr = shared_ptr< const StructMemberDescVec >
 
using TypeSystemPtr = shared_ptr< class TypeSystem >
 

Detailed Description

Type descriptor for a MaterialX data type.

Definition in file TypeDesc.h.

Macro Definition Documentation

#define TYPEDESC_DEFINE_TYPE (   T,
  name,
  basetype,
  semantic,
  size 
)
Value:
inline const TypeDesc::DataBlock* T##_data() { static const TypeDesc::DataBlock _data(name); return &_data; } \
static const TypeDesc T(name, basetype, semantic, size, T##_data());
GLuint const GLchar * name
Definition: glcorearb.h:786
Data block holding large data needed by the type description.
Definition: TypeDesc.h:68
GLsizeiptr size
Definition: glcorearb.h:664

Macro to define global type descriptions for commonly used types.

Definition at line 256 of file TypeDesc.h.

Typedef Documentation

Definition at line 24 of file TypeDesc.h.

using StructMemberDescVecPtr = shared_ptr<const StructMemberDescVec>

Definition at line 25 of file TypeDesc.h.

using TypeDescMap = std::unordered_map<string, TypeDesc>

Definition at line 23 of file TypeDesc.h.

using TypeDescVec = vector<TypeDesc>

Definition at line 22 of file TypeDesc.h.

using TypeSystemPtr = shared_ptr<class TypeSystem>

Definition at line 219 of file TypeDesc.h.