MeshLib Documentation
Loading...
Searching...
No Matches
MR::MeshLoadSettings Struct Reference

setting for mesh loading from external format, and locations of optional output data More...

#include <MRMeshLoadSettings.h>

Public Attributes

VertColors * colors = nullptr
 optional load artifact: per-vertex color map
 
VertUVCoords * uvCoords = nullptr
 optional load artifact: per-vertex uv-coordinates
 
VertNormals * normals = nullptr
 optional load artifact: per-vertex normals
 
MeshTexturetexture = nullptr
 optional load artifact: texture image
 
int * skippedFaceCount = nullptr
 optional output: counter of skipped faces during mesh creation
 
int * duplicatedVertexCount = nullptr
 optional output: counter of duplicated vertices (that created for resolve non-manifold geometry)
 
AffineXf3f * xf = nullptr
 optional output: transform for the loaded mesh to improve precision of vertex coordinates
 
ProgressCallback callback
 callback for set progress and stop process
 

Detailed Description

setting for mesh loading from external format, and locations of optional output data

Member Data Documentation

◆ callback

ProgressCallback MR::MeshLoadSettings::callback

callback for set progress and stop process

◆ colors

VertColors* MR::MeshLoadSettings::colors = nullptr

optional load artifact: per-vertex color map

◆ duplicatedVertexCount

int* MR::MeshLoadSettings::duplicatedVertexCount = nullptr

optional output: counter of duplicated vertices (that created for resolve non-manifold geometry)

◆ normals

VertNormals* MR::MeshLoadSettings::normals = nullptr

optional load artifact: per-vertex normals

◆ skippedFaceCount

int* MR::MeshLoadSettings::skippedFaceCount = nullptr

optional output: counter of skipped faces during mesh creation

◆ texture

MeshTexture* MR::MeshLoadSettings::texture = nullptr

optional load artifact: texture image

◆ uvCoords

VertUVCoords* MR::MeshLoadSettings::uvCoords = nullptr

optional load artifact: per-vertex uv-coordinates

◆ xf

AffineXf3f* MR::MeshLoadSettings::xf = nullptr

optional output: transform for the loaded mesh to improve precision of vertex coordinates


The documentation for this struct was generated from the following file: