1 #ifndef __GLTF_MtlxMaterialCodec_h__
2 #define __GLTF_MtlxMaterialCodec_h__
37 "KHR_materials_emissive_strength",
39 "KHR_materials_specular",
40 "KHR_materials_transmission"
42 return mySupportedExtensions.
contains(ext_name);
72 #endif // __GLTF_MtlxMaterialCodec_h__
virtual ~GLTF_MtlxMaterialCodec() override
GT_API const UT_StringHolder time
static bool isExtensionSupported(const char *ext_name)
bool importMeshPrimitive(GU_Detail &gdp, const GLTF_Index mesh_idx, const GLTF_Index prim_idx, const GLTF_MeshInfo &mesh_info, GLTF_Reader &reader, GLTF_ErrorManager &errors) override
virtual bool exportMaterial(const OP_Node *mat_node, const GLTF_Index mat_id, fpreal time, const GLTF_MaterialInfo &mat_info, GLTF_Writer &writer, GLTF_ErrorManager &errors)
GLTF_MtlxMaterialCodec(const GLTF_ImportOptions &options)
virtual bool importMaterial(GU_Detail &gdp, const GLTF_Index mat_idx, GLTF_Reader &reader, GLTF_ErrorManager &errors, GA_AttributeOwner mat_attribs_owner=GA_ATTRIB_PRIMITIVE)=0
GLTF_MtlxMaterialCodec(const GLTF_ExportOptions &options)
bool contains(const K &key) const