载入中...
搜索中...
未找到
GeneratedArtifactMeshCodec.h
浏览该文件的文档.
1#pragma once
2#include "common/Result.h"
3#include "common/Value.h"
4#include "procgen/MeshBuild.h"
6// Private artifact-store codec. All arguments borrowed synchronously; no callbacks.
7bool validMesh(const MeshBuild& mesh) noexcept;
8eve::Value encodeMesh(const MeshBuild& mesh);
9[[nodiscard]] Result<std::vector<float>> decodeColors(const eve::Value::Object& object, std::size_t vertices);
10} // namespace eve::procgen::artifact_mesh
OceanMeshSettings mesh
Move-only, checked operation results for the common layer.
std::array< double, 2 > vertices[3]
Owning, renderer-independent dynamic values.
The canonical owning dynamic value used by data-facing protocols.
Definition Value.h:31
std::map< std::string, Value > Object
Definition Value.h:34
Result< std::vector< float > > decodeColors(const eve::Value::Object &object, std::size_t vertices)
eve::Value encodeMesh(const MeshBuild &mesh)
bool validMesh(const MeshBuild &mesh) noexcept