|
MaterialX 1.38.2
|
Rendering utility methods. More...
#include <MaterialXRender/Export.h>#include <MaterialXGenShader/GenContext.h>#include <MaterialXGenShader/ShaderGenerator.h>#include <MaterialXGenShader/Util.h>#include <map>Go to the source code of this file.
Classes | |
| struct | UIProperties |
| Set of possible UI properties for an element. More... | |
| struct | UIPropertyItem |
| Interface for holding the UI properties associated shader port. More... | |
User Interface Utilities | |
| using | UIPropertyGroup = std::multimap< string, UIPropertyItem > |
| A grouping of property items by name. | |
| unsigned int | getUIProperties (InputPtr input, const string &target, UIProperties &uiProperties) |
| Get the UI properties for a given input element and target. More... | |
| void | createUIPropertyGroups (DocumentPtr doc, const VariableBlock &block, UIPropertyGroup &groups, UIPropertyGroup &unnamedGroups, const string &pathSeparator, bool showAllInputs) |
| Utility to group UI properties items based on Element group name from a VariableBlock. More... | |
Rendering utility methods.
| MX_RENDER_API void createUIPropertyGroups | ( | DocumentPtr | doc, |
| const VariableBlock & | block, | ||
| UIPropertyGroup & | groups, | ||
| UIPropertyGroup & | unnamedGroups, | ||
| const string & | pathSeparator, | ||
| bool | showAllInputs | ||
| ) |
Utility to group UI properties items based on Element group name from a VariableBlock.
Returns a list of named and unnamed groups.
| MX_RENDER_API unsigned int getUIProperties | ( | InputPtr | input, |
| const string & | target, | ||
| UIProperties & | uiProperties | ||
| ) |
Get the UI properties for a given input element and target.
Returns the number of properties found.