6#ifndef MATERIALX_RENDER_UTIL_H
7#define MATERIALX_RENDER_UTIL_H
27MX_RENDER_API
ShaderPtr createShader(
const string& shaderName, GenContext& context, ElementPtr elem);
31MX_RENDER_API
ShaderPtr createConstantShader(GenContext& context,
33 const string& shaderName,
38MX_RENDER_API
ShaderPtr createDepthShader(GenContext& context,
40 const string& shaderName);
44MX_RENDER_API
ShaderPtr createAlbedoTableShader(GenContext& context,
46 const string& shaderName);
49MX_RENDER_API
ShaderPtr createBlurShader(GenContext& context,
51 const string& shaderName,
52 const string& filterType,
90 bool uiAdvanced =
false;
95MX_RENDER_API
unsigned int getUIProperties(
InputPtr input,
const string& target,
UIProperties& uiProperties);
111 UIPropertyGroup& unnamedGroups,
const string& pathSeparator,
bool showAllInputs);
shared_ptr< Document > DocumentPtr
A shared pointer to a Document.
Definition: Document.h:23
Context classes for shader generation.
shared_ptr< Input > InputPtr
A shared pointer to an Input.
Definition: Interface.h:32
vector< string > StringVec
A vector of strings.
Definition: Library.h:56
shared_ptr< Shader > ShaderPtr
Shared pointer to a Shader.
Definition: Library.h:34
Shader generation utility methods.
Macros for declaring imported and exported symbols.
std::multimap< string, UIPropertyItem > UIPropertyGroup
A grouping of property items by name.
Definition: Util.h:106
Base shader generator class.
shared_ptr< Value > ValuePtr
A shared pointer to a Value.
Definition: Value.h:30
An input or output port on a ShaderNode.
Definition: ShaderNode.h:125
A block of variables in a shader stage.
Definition: ShaderStage.h:53
Set of possible UI properties for an element.
Definition: Util.h:61
ValuePtr uiStep
UI step value.
Definition: Util.h:87
ValuePtr uiMin
UI minimum value.
Definition: Util.h:75
ValuePtr uiSoftMin
UI soft minimum value.
Definition: Util.h:81
string uiName
UI name.
Definition: Util.h:63
StringVec enumeration
Enumeration.
Definition: Util.h:69
vector< ValuePtr > enumerationValues
Enumeration Values.
Definition: Util.h:72
ValuePtr uiSoftMax
UI soft maximum value.
Definition: Util.h:84
string uiFolder
UI folder.
Definition: Util.h:66
ValuePtr uiMax
UI maximum value.
Definition: Util.h:78
Interface for holding the UI properties associated shader port.
Definition: Util.h:99