18#include "manifold/manifold.h"
70 const ExportOptions& options);
MeshGLP< float > MeshGL
Single-precision - ideal for most uses, especially graphics.
Definition manifold.h:169
double alpha
Definition meshIO.h:41
int alphaIdx
Definition meshIO.h:53
vec3 color
Definition meshIO.h:38
bool faceted
Definition meshIO.h:62
double metalness
Metalness value, generally either 0 (dielectric) or 1 (metal).
Definition meshIO.h:35
int normalIdx
Definition meshIO.h:45
double roughness
Roughness value between 0 (shiny) and 1 (matte).
Definition meshIO.h:33
Material mat
PBR material properties.
Definition meshIO.h:64
int colorIdx
Definition meshIO.h:49
void ExportMesh(const std::string &filename, const MeshGL &mesh, const ExportOptions &options)
Definition meshIO.cpp:185
MeshGL ImportMesh(const std::string &filename, bool forceCleanup=false)
Definition meshIO.cpp:114