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 |
在文件 CanonicalMesh.h 第 21 行定义.
被这些函数引用 eve::asset::decodeCanonicalMesh() , 以及 eve::asset_procgen::prepareGtsTerrainLodPackage().
◆ indices
| std::vector<std::uint32_t> eve::asset::CanonicalMeshData::indices |
在文件 CanonicalMesh.h 第 23 行定义.
被这些函数引用 eve::asset::decodeCanonicalMesh() , 以及 eve::asset_procgen::prepareGtsTerrainLodPackage().
◆ normals
| std::vector<float> eve::asset::CanonicalMeshData::normals |
在文件 CanonicalMesh.h 第 20 行定义.
被这些函数引用 eve::asset::decodeCanonicalMesh() , 以及 eve::asset_procgen::prepareGtsTerrainLodPackage().
◆ positions
| std::vector<float> eve::asset::CanonicalMeshData::positions |
在文件 CanonicalMesh.h 第 19 行定义.
被这些函数引用 eve::asset::decodeCanonicalMesh() , 以及 eve::asset_procgen::prepareGtsTerrainLodPackage().
◆ texcoords
| std::map<std::uint32_t, std::vector<float> > eve::asset::CanonicalMeshData::texcoords |
在文件 CanonicalMesh.h 第 22 行定义.
被这些函数引用 eve::asset::decodeCanonicalMesh() , 以及 eve::asset_procgen::prepareGtsTerrainLodPackage().
该结构体的文档由以下文件生成:
- src/modules/asset/CanonicalMesh.h