1 #ifndef __GLTF_DracoMeshCodec_h__
2 #define __GLTF_DracoMeshCodec_h__
43 static const UT_StringHolder theSupportedExtension(
"KHR_draco_mesh_compression");
44 return (theSupportedExtension == ext_name);
74 bool addPointAttribute(
76 const draco::Mesh& mesh,
78 const char* attrib_name,
82 bool exportDracoMeshTriPrimitive(
89 void exportPointAttributes(
91 draco::PointCloud* point_cloud,
100 #endif // __GLTF_DracoMeshCodec_h__
virtual 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)=0
virtual bool exportMeshPrimitive(const GU_Detail &gdp, const GLTF_Index mesh_idx, const GLTF_Index prim_idx, GLTF_Writer &writer, GLTF_ErrorManager &errors)
bool importMaterial(GU_Detail &, const GLTF_Index, GLTF_Reader &, GLTF_ErrorManager &, GA_AttributeOwner) override
static bool isExtensionSupported(const char *ext_name)
GLTF_DracoMeshCodec(const GLTF_ImportOptions &import_options, const GLTF_ExportOptions &export_options)
GLTF_DracoMeshCodec(const GLTF_ImportOptions &options)
GLTF_DracoMeshCodec(const GLTF_ExportOptions &options)