载入中...
搜索中...
未找到
eve::asset::CanonicalMeshData结构体 参考

Owning CPU mesh snapshot; UV arrays are packed ST pairs indexed by source set number. No pointers into the source archive are retained. Each array has one authoritative owner. 更多...

#include <CanonicalMesh.h>

Public 属性

std::vector< float > positions
 
std::vector< float > normals
 
std::vector< float > colors
 
std::map< std::uint32_t, std::vector< float > > texcoords
 
std::vector< std::uint32_t > indices
 
std::map< std::string, CanonicalMeshAttribute > attributes
 

详细描述

Owning CPU mesh snapshot; UV arrays are packed ST pairs indexed by source set number. No pointers into the source archive are retained. Each array has one authoritative owner.

在文件 CanonicalMesh.h 第 18 行定义.

类成员变量说明

◆ attributes

std::map<std::string, CanonicalMeshAttribute> eve::asset::CanonicalMeshData::attributes

在文件 CanonicalMesh.h 第 24 行定义.

被这些函数引用 eve::asset::decodeCanonicalMesh().

◆ colors

std::vector<float> eve::asset::CanonicalMeshData::colors

◆ indices

std::vector<std::uint32_t> eve::asset::CanonicalMeshData::indices

◆ normals

std::vector<float> eve::asset::CanonicalMeshData::normals

◆ positions

std::vector<float> eve::asset::CanonicalMeshData::positions

◆ texcoords

std::map<std::uint32_t, std::vector<float> > eve::asset::CanonicalMeshData::texcoords

该结构体的文档由以下文件生成: