载入中...
搜索中...
未找到
GtsTerrainLodRuntime.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Result.h"
4
5#include <cstdint>
6#include <memory>
7
8namespace eve::graphics { class Graphics; class Material; class Renderable3D; }
9namespace eve::procgen {
10class GtsTerrainLodSet;
11class Procgen;
12
15public:
30 [[nodiscard]] Result<std::uint64_t> replace(const GtsTerrainLodSet& lods,Procgen& procgen,
31 graphics::Graphics& gfx,float worldDiameter,float verticalFovDegrees,
32 float originX=0.f,float originY=0.f,float originZ=0.f);
39 [[nodiscard]] Result<std::uint64_t> replaceAndHideSource(const GtsTerrainLodSet& lods,Procgen& procgen,
40 graphics::Graphics& gfx,graphics::Renderable3D& sourceTerrain,float worldDiameter,float verticalFovDegrees,
41 float originX=0.f,float originY=0.f,float originZ=0.f);
43 [[nodiscard]] graphics::Renderable3D* getSourceTerrain() const;
45 [[nodiscard]] Result<int> clear();
51 [[nodiscard]] Result<int> applyMaterial(graphics::Material& material);
53 [[nodiscard]] int getTileCount()const;
55 [[nodiscard]] std::uint64_t getRevision()const;
61 [[nodiscard]] graphics::Renderable3D* getRenderable(int tileIndex)const;
62private:
63 struct Impl;std::unique_ptr<Impl> impl_;
64};
65}
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Material * material
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Packages shading method + surface parameters into one attachable asset.
Definition Material.h:35
EVENGINE_API_BACKENDS public API.
Transactional runtime owner for one row-major batch of GTS terrain tile renderables.
GtsTerrainLodRuntime(const GtsTerrainLodRuntime &)=delete
Gts terrain lod runtime.
GtsTerrainLodRuntime & operator=(const GtsTerrainLodRuntime &)=delete
Operator =.
Owned result of the GTS split-and-sequential-simplify pipeline.
Procedural generation module. Phase A: runtime maps (semantic Grid2D → TileLayer)....
Definition Procgen.h:146
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25