MaterialX 1.39.1
Loading...
Searching...
No Matches
Syntax.h File Reference

Base class for syntax handling for shader generators. More...

Go to the source code of this file.

Classes

class  Syntax
 Base class for syntax objects used by shader generators to emit code with correct syntax for each language. More...
 
class  TypeSyntax
 Base class for syntax handling of types. More...
 
class  ScalarTypeSyntax
 Specialization of TypeSyntax for scalar types. More...
 
class  StringTypeSyntax
 Specialization of TypeSyntax for string types. More...
 
class  AggregateTypeSyntax
 Specialization of TypeSyntax for aggregate types. More...
 

Typedefs

using SyntaxPtr = shared_ptr< Syntax >
 Shared pointer to a Syntax.
 
using ConstSyntaxPtr = shared_ptr< const Syntax >
 Shared pointer to a constant Syntax.
 
using TypeSyntaxPtr = shared_ptr< TypeSyntax >
 Shared pointer to a TypeSyntax.
 
using IdentifierMap = std::unordered_map< string, size_t >
 Map holding identifier names and a counter for creating unique names from them.
 

Detailed Description

Base class for syntax handling for shader generators.