载入中...
搜索中...
未找到
PcgMeshLodBackup.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Result.h"
4
5#include <cstdint>
6#include <memory>
7
8namespace eve::graphics { class Renderable3D; }
9
10namespace eve::procgen {
11
20public:
30 PcgMeshLodBackup& operator=(PcgMeshLodBackup&&) noexcept;
31
33 [[nodiscard]] Result<void> capture(graphics::Renderable3D& renderable);
35 [[nodiscard]] Result<void> restore(graphics::Renderable3D& renderable);
37 void discard() noexcept;
39 [[nodiscard]] bool isCaptured() const noexcept;
41 [[nodiscard]] std::uint32_t getEntityId() const noexcept;
43 [[nodiscard]] std::uint32_t getEntityGeneration() const noexcept;
44
45private:
46 struct Impl;
47 std::unique_ptr<Impl> impl_;
48};
49
50} // namespace eve::procgen
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Caller-owned transactional backup of one Renderable3D renderer before Pcg LOD replacement.
PcgMeshLodBackup(const PcgMeshLodBackup &)=delete
PcgMeshLodBackup & operator=(const PcgMeshLodBackup &)=delete
PcgMeshLodBackup(PcgMeshLodBackup &&) noexcept
Pcg mesh lod backup.
~PcgMeshLodBackup()
Pcg mesh lod backup.
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25