GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::TriangleSoupMeshBuilder Class Reference

#include <triangle_soup_mesh_builder.h>

Public Types

typedef FaceIndexFaceIndex ElementIndex

Public Member Functions

void Start (int num_faces)
int AddAttribute (GeometryAttribute::Type attribute_type, int8_t num_components, DataTypeDataType data_type)
int AddAttribute (GeometryAttribute::Type attribute_type, int8_t num_components, DataTypeDataType data_type, bool normalized)
void SetAttributeValuesForFace (int att_id, FaceIndexFaceIndex face_id, const void *corner_value_0, const void *corner_value_1, const void *corner_value_2)
void SetPerFaceAttributeValueForFace (int att_id, FaceIndexFaceIndex face_id, const void *value)
void AddMetadata (std::unique_ptr< GeometryMetadata > metadata)
void AddAttributeMetadata (int32_t att_id, std::unique_ptr< AttributeMetadata > metadata)
std::unique_ptr< Mesh > Finalize ()

Member Typedef Documentation

◆ ElementIndex

Member Function Documentation

◆ AddAttribute() [1/2]

int draco::TriangleSoupMeshBuilder::AddAttribute ( GeometryAttribute::Type attribute_type,
int8_t num_components,
DataTypeDataType data_type )
Here is the caller graph for this function:

◆ AddAttribute() [2/2]

int draco::TriangleSoupMeshBuilder::AddAttribute ( GeometryAttribute::Type attribute_type,
int8_t num_components,
DataTypeDataType data_type,
bool normalized )

◆ AddAttributeMetadata()

void draco::TriangleSoupMeshBuilder::AddAttributeMetadata ( int32_t att_id,
std::unique_ptr< AttributeMetadata > metadata )
inline

◆ AddMetadata()

void draco::TriangleSoupMeshBuilder::AddMetadata ( std::unique_ptr< GeometryMetadata > metadata)
inline

◆ Finalize()

std::unique_ptr< Mesh > draco::TriangleSoupMeshBuilder::Finalize ( )
Here is the caller graph for this function:

◆ SetAttributeValuesForFace()

void draco::TriangleSoupMeshBuilder::SetAttributeValuesForFace ( int att_id,
FaceIndexFaceIndex face_id,
const void * corner_value_0,
const void * corner_value_1,
const void * corner_value_2 )
Here is the caller graph for this function:

◆ SetPerFaceAttributeValueForFace()

void draco::TriangleSoupMeshBuilder::SetPerFaceAttributeValueForFace ( int att_id,
FaceIndexFaceIndex face_id,
const void * value )
Here is the caller graph for this function:

◆ Start()

void draco::TriangleSoupMeshBuilder::Start ( int num_faces)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: