Open 3D Engine Meshlets Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Meshlets::MeshletsData Struct Reference

Public Member Functions

bool ValidateData (uint32_t vtxCount)
 
uint32_t EncodeTrianglesData (std::vector< unsigned char > triangles)
 
void GenerateDecodedIndices (std::vector< uint32_t > &decodedIndexVector)
 

Public Attributes

std::vector< meshopt_MeshletDescriptors
 
std::vector< uint32_t > EncodedTriangles
 
std::vector< uint32_t > IndicesIndirection
 

Member Function Documentation

◆ GenerateDecodedIndices()

void AZ::Meshlets::MeshletsData::GenerateDecodedIndices ( std::vector< uint32_t > &  decodedIndexVector)
inline

Using the meshlets data, generates a regular u32 vector indices This can be used as a debug validation data and send to render.


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