API for MaterialX. More...
Go to the source code of this file.
Enumerations | |
| enum | AtMaterialxErrorCode { AI_MATX_SUCCESS , AI_MATX_ERROR_LOAD_DOCUMENT , AI_MATX_ERROR_NO_MATERIALS } |
| MaterialX error codes. More... | |
Functions | |
| AI_API int | AiMaterialxWrite (const AtUniverse *universe, const char *filename, const char *look_name, const char *properties=NULL, bool relative=true) |
| Generate and write a MaterialX document to a file from an Arnold scene. More... | |
| AI_API int | AiMaterialxWriteMaterial (const char *filename, const char *material_name, const AtNode *surface=NULL, const AtNode *volume=NULL, const AtNode *displacement=NULL) |
| AI_API AtArray * | AiMaterialxGetLookNames (const char *filename) |
| Get a list of look names in a MaterialX document. More... | |
| AI_API AtArray * | AiMaterialxGetMaterialNames (const char *filename) |
| Get a list of material names in a MaterialX document. More... | |
| AI_API int | AiMaterialxReadMaterials (AtUniverse *universe, const char *filename, const AtParamValueMap *params=NULL, AtArray *nodes=NULL) |
| Populates an Arnold universe with materials in a MaterialX document. More... | |
| AI_API const AtString | AiMaterialxGetOslShaderCode (const char *node_definition, const char *shader_name, AtParamValueMap *connected_inputs=nullptr) |
| Given a MaterialX node definition, generate its corresponding OSL code as a shader. More... | |
API for MaterialX.