MaterialXJSON 1.39.0
Loading...
Searching...
No Matches
core.py File Reference

This module contains the core definitions and utilities for reading and wring MaterialX in JSON format. More...

Go to the source code of this file.

Classes

class  materialxjson.core.JsonWriteOptions
 Class for holding options for writing MaterialX to JSON. More...
 
class  materialxjson.core.JsonReadOptions
 Class for holding options for reading MaterialX from JSON. More...
 
class  materialxjson.core.MaterialXJson
 Class for handling read and write of MaterialX from and to JSON. More...
 
class  materialxjson.core.Util
 Utility class for MaterialX JSON. More...
 

Variables

str materialxjson.core.JSON_MIMETYPE_KEY = 'mimetype'
 
str materialxjson.core.JSON_MIMETYPE = 'application/mtlx+json'
 
str materialxjson.core.JSON_CATEGORY_NAME_SEPARATOR = ':'
 
str materialxjson.core.MATERIALX_DOCUMENT_ROOT = 'materialx'
 
str materialxjson.core.INPUTS_STRING = 'inputs'
 
str materialxjson.core.OUTPUTS_STRING = 'outputs'
 
str materialxjson.core.CHILDREN_STRING = 'children'
 

Detailed Description

This module contains the core definitions and utilities for reading and wring MaterialX in JSON format.

Definition in file core.py.

Variable Documentation

◆ CHILDREN_STRING

str materialxjson.core.CHILDREN_STRING = 'children'

Definition at line 29 of file core.py.

◆ INPUTS_STRING

str materialxjson.core.INPUTS_STRING = 'inputs'

Definition at line 27 of file core.py.

◆ JSON_CATEGORY_NAME_SEPARATOR

str materialxjson.core.JSON_CATEGORY_NAME_SEPARATOR = ':'

Definition at line 22 of file core.py.

◆ JSON_MIMETYPE

str materialxjson.core.JSON_MIMETYPE = 'application/mtlx+json'

Definition at line 20 of file core.py.

◆ JSON_MIMETYPE_KEY

str materialxjson.core.JSON_MIMETYPE_KEY = 'mimetype'

Definition at line 19 of file core.py.

◆ MATERIALX_DOCUMENT_ROOT

str materialxjson.core.MATERIALX_DOCUMENT_ROOT = 'materialx'

Definition at line 24 of file core.py.

◆ OUTPUTS_STRING

str materialxjson.core.OUTPUTS_STRING = 'outputs'

Definition at line 28 of file core.py.