Namespaces | |
EXPORT | |
IMPORT | |
Classes | |
class | MaterialExportInterface |
struct | MaterialExportDescription |
class | MaterialImportInterface |
struct | MaterialImportDescription |
struct | MaterialMapperParameterInsertWrapper |
class | MaterialMappingInterface |
struct | MaterialMappingDescription |
struct | TextureBuffer |
struct | ImageReference |
struct | SubstanceReference |
struct | InstructionData |
struct | InstructionSet |
struct | MaterialExchangeData |
struct | MaterialExchangeDataExtended |
struct | PackedConstantParameter |
struct | TypedConstantParameter |
class | ParameterStorageInterface |
Typedefs | |
using | MaterialTypesMap = HashMap< Id, MaterialTypeSupport > |
using | MaterialExchangeDataRef = StrongRef< MaterialExchangeData > |
using | MaterialExchangeDataExtendedRef = StrongRef< MaterialExchangeDataExtended > |
Enumerations | |
enum class | MaterialTypeSupport { DIRECT , MAPPED } |
Functions | |
enum maxon::material::MaterialTypeSupport | MAXON_ENUM_LIST (MaterialTypeSupport) |
MAXON_DATATYPE (MaterialTypesMap, "net.maxon.material.datatype.materialtypesmap") | |
MAXON_DATATYPE (MaterialExportDescription, "net.maxon.material.datatype.materialexportdescription") | |
MAXON_REGISTRY (MaterialExportDescription, MaterialExporters, "net.maxon.material.registry.materialexporters") | |
MAXON_DATATYPE (MaterialImportDescription, "net.maxon.material.datatype.materialimportdescription") | |
MAXON_REGISTRY (MaterialImportDescription, MaterialImporters, "net.maxon.material.registry.materialimporters") | |
MAXON_DECLARATION (MaterialImportRef, NodeMaterialImporter, "net.maxon.material.materialimport.nodematerial") | |
template<typename SOURCE_MATERIAL_ATTRIBUTE , typename TARGET_MATERIAL_ATTRIBUTE , typename T > | |
static Result< void > | SimpleAttributeInsert (MaterialMapperParameterInsertWrapper &wrappedParams, const SOURCE_MATERIAL_ATTRIBUTE &fromMaterial, const TARGET_MATERIAL_ATTRIBUTE &toMaterial, const T fallbackValue) |
MAXON_DATATYPE (MaterialMappingDescription, "net.maxon.material.datatype.materialmappingdescription") | |
MAXON_REGISTRY (MaterialMappingDescription, MaterialMappers, "net.maxon.material.registry.materialmappers") | |
MAXON_DATATYPE (TextureBuffer, "net.maxon.material.datatype.texturebuffer") | |
MAXON_DATATYPE (ImageReference, "net.maxon.material.datatype.imagereference") | |
MAXON_DATATYPE (SubstanceReference, "net.maxon.material.datatype.substancereference") | |
MAXON_DATATYPE (InstructionData, "net.maxon.material.datatype.instructiondata") | |
MAXON_DATATYPE (InstructionSet, "net.maxon.material.datatype.instructionset") | |
MAXON_DATATYPE (PackedConstantParameter, "net.maxon.material.datatype.packedconstantparameter") | |
Variables | |
maxon::material::MaterialExportInterface | MAXON_ENUM_LIST |
using MaterialTypesMap = HashMap<Id, MaterialTypeSupport> |
|
strong |
enum maxon::material::MaterialTypeSupport maxon::material::MAXON_ENUM_LIST | ( | MaterialTypeSupport | ) |
maxon::material::MAXON_DATATYPE | ( | MaterialTypesMap | , |
"net.maxon.material.datatype.materialtypesmap" | |||
) |
maxon::material::MAXON_DATATYPE | ( | MaterialExportDescription | , |
"net.maxon.material.datatype.materialexportdescription" | |||
) |
maxon::material::MAXON_REGISTRY | ( | MaterialExportDescription | , |
MaterialExporters | , | ||
"net.maxon.material.registry.materialexporters" | |||
) |
MaterialExporters holds the descriptions of all registered material exporters.
The registry can be linearly searched the following:
maxon::material::MAXON_DATATYPE | ( | MaterialImportDescription | , |
"net.maxon.material.datatype.materialimportdescription" | |||
) |
maxon::material::MAXON_REGISTRY | ( | MaterialImportDescription | , |
MaterialImporters | , | ||
"net.maxon.material.registry.materialimporters" | |||
) |
MaterialImporters holds the descriptions of all registered material importers.
The registry can be linearly searched the following:
maxon::material::MAXON_DECLARATION | ( | MaterialImportRef | , |
NodeMaterialImporter | , | ||
"net.maxon.material.materialimport.nodematerial" | |||
) |
The declaration of the type of material import fulfilling BaseMaterial::IsInstanceOf(Mmaterial) && BaseMaterial::IsNodeBased() This importer consumes maxon::material::IMPORT::CONFIG::NODESPACEID.
|
static |
Static function to reduce the boilerplate needed when inserting materials in the material exchange Used in conjunction with the struct defined above for Example SimpleAttributeInsert<>(wrappedParams, MATERIAL::PORTBUNDLE::REDSHIFT::EMISSION_COLOR, MATERIAL::PORTBUNDLE::FBXSURFACELAMBERT::EMISSIVE, Color(1, 1, 1)) iferr_return;
maxon::material::MAXON_DATATYPE | ( | MaterialMappingDescription | , |
"net.maxon.material.datatype.materialmappingdescription" | |||
) |
maxon::material::MAXON_REGISTRY | ( | MaterialMappingDescription | , |
MaterialMappers | , | ||
"net.maxon.material.registry.materialmappers" | |||
) |
MaterialMappers holds the descriptions of all registered mappings.
The registry can be linearly searched for a matching mapping the following:
maxon::material::MAXON_DATATYPE | ( | TextureBuffer | , |
"net.maxon.material.datatype.texturebuffer" | |||
) |
maxon::material::MAXON_DATATYPE | ( | ImageReference | , |
"net.maxon.material.datatype.imagereference" | |||
) |
maxon::material::MAXON_DATATYPE | ( | SubstanceReference | , |
"net.maxon.material.datatype.substancereference" | |||
) |
maxon::material::MAXON_DATATYPE | ( | InstructionData | , |
"net.maxon.material.datatype.instructiondata" | |||
) |
maxon::material::MAXON_DATATYPE | ( | InstructionSet | , |
"net.maxon.material.datatype.instructionset" | |||
) |
maxon::material::MAXON_DATATYPE | ( | PackedConstantParameter | , |
"net.maxon.material.datatype.packedconstantparameter" | |||
) |
maxon::material::MaterialExportInterface MAXON_ENUM_LIST |