载入中...
搜索中...
未找到
StructuredModelCommon.h
浏览该文件的文档.
1#pragma once
2
5
6#include <array>
7
9struct MeshPart {
11 std::array<double, 4> color{0.8, 0.8, 0.8, 1.0};
12};
13Result<void> appendTriangle(asset::CanonicalMeshData& mesh, const std::array<std::array<double, 3>, 3>& triangle,
16 std::string_view format, std::map<std::string, MeshPart> parts,
17 const std::map<std::string, std::vector<std::uint8_t>>& sources,
18 std::vector<ImportFinding> findings, const AssetImportLimits& limits);
19} // namespace eve::asset_import::structured_detail
std::vector< eve::artifact::PartView > parts
int triangle
Definition FluidSdf.cpp:554
OceanMeshSettings mesh
std::vector< std::pair< std::uint64_t, OceanBoatReceipt > > sources
std::vector< ImportFinding > findings
const AssetImportLimits & limits
uint64_t identity
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Result< void > appendTriangle(asset::CanonicalMeshData &mesh, const std::array< std::array< double, 3 >, 3 > &triangle, const AssetImportLimits &limits)
Result< PreparedAssetImport > packageModel(const ImportPackageIdentity &identity, std::string_view sourceName, std::string_view format, std::map< std::string, MeshPart > parts, const std::map< std::string, std::vector< std::uint8_t > > &sources, std::vector< ImportFinding > findings, const AssetImportLimits &limits)
Owning CPU mesh snapshot; UV arrays are packed ST pairs indexed by source set number....
Parser and allocation budgets applied to untrusted importer inputs.
Common stable package metadata supplied by an import transaction.