MaterialX 1.38.2
|
Class related to holding information for shader stages. More...
#include <MaterialXGenShader/Export.h>
#include <MaterialXGenShader/GenOptions.h>
#include <MaterialXGenShader/ShaderGraph.h>
#include <MaterialXGenShader/Syntax.h>
#include <MaterialXCore/Node.h>
#include <sstream>
Go to the source code of this file.
Classes | |
class | VariableBlock |
A block of variables in a shader stage. More... | |
class | ShaderStage |
A shader stage, containing the state and resulting source code for the stage. More... | |
Macros | |
#define | BEGIN_SHADER_STAGE(stage, name) if (stage.getName() == name) { |
#define | END_SHADER_STAGE(stage, name) } |
Typedefs | |
using | VariableBlockPtr = std::shared_ptr< VariableBlock > |
Shared pointer to a VariableBlock. | |
using | VariableBlockMap = std::unordered_map< string, VariableBlockPtr > |
Shared pointer to a map between string identifiers and VariableBlocks. | |
using | ShaderPortPredicate = std::function< bool(ShaderPort *)> |
A standard function predicate taking an ShaderPort pointer and returning a boolean. | |
Class related to holding information for shader stages.