载入中...
搜索中...
未找到
GeneratedArtifact.cpp 文件参考
#include "procgen/GeneratedArtifact.h"
#include "procgen/algorithms/CastleMesh.h"
#include "procgen/algorithms/HexTerrain.h"
#include "procgen/algorithms/MarchingCubes.h"
#include <algorithm>
#include <array>
#include <cctype>
#include <charconv>
#include <cmath>
#include <iomanip>
#include <limits>
#include <memory>
#include <sstream>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>

浏览源代码.

类

class  eve::procgen::ArtifactStoreStage
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 

函数

ArtifactType eve::procgen::artifactType (const GeneratedArtifact::Payload &payload) noexcept
 Return the variant kind for a payload.
 
const char * eve::procgen::artifactTypeName (ArtifactType type) noexcept
 Return the stable textual spelling of an artifact kind.
 
eve::Result< GeneratedArtifact > eve::procgen::makeArtifact (ArtifactId id, ArtifactType type, eve::SchemaVersion schemaVersion, BuildKey buildKey, Bounds bounds, std::vector< ArtifactId > dependencies, eve::Value::Object metadata, GeneratedArtifact::Payload payload)
 Validate and construct one artifact record.
 
eve::Result< ArtifactPart > eve::procgen::makeArtifactPart (std::string role, ArtifactId id, ArtifactType type, eve::SchemaVersion schemaVersion, BuildKey buildKey, Bounds bounds, std::vector< ArtifactId > dependencies, eve::Value::Object metadata, ArtifactLeafPayload payload)
 Validate and construct a leaf part for a composite artifact.
 
eve::Result< GeneratedArtifact > eve::procgen::generateHexTerrainArtifact (const Params &params, ArtifactId id)
 Generate a hex-terrain composite containing mesh, collider, topology and world anchors.
 
eve::Result< GeneratedArtifact > eve::procgen::generateCastleArtifact (const Params &params, ArtifactId id)
 Generate a castle composite containing mesh, collider, ring topology and gate/keep anchors.
 
eve::Result< GeneratedArtifact > eve::procgen::generateMeshArtifact (std::string_view recipeId, const Params &params, ArtifactId id)
 Generate any registered mesh recipe as a CPU artifact.