载入中...
搜索中...
未找到
Demo.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Module.h"
4
5#include <string>
6
7namespace eve::graphics {
8class Graphics;
9class Texture;
10}
11
12namespace eve::sound {
13class SoundData;
14}
15
16namespace eve::demo {
17
22class Demo : public Module {
23public:
25
29 ~Demo() override;
30
32 sound::SoundData *newSound(const std::string &kind);
33
36};
37
38} // namespace eve::demo
TokenKind kind
EVENGINE_API_FOUNDATION public API.
Definition Module.h:46
Optional demo-only helpers (procedural SFX / planet albedo). Built only when EVENGINE_BUILD_DEMO=ON; ...
Definition Demo.h:22
sound::SoundData * newSound(const std::string &kind)
kind: "music" | "shoot" | "explode" | "hit"
Definition Demo.cpp:161
Demo()
Constructs a Demo.
~Demo() override
Releases Demo resources.
graphics::Texture * newPlanetTexture(graphics::Graphics *gfx)
Equirectangular planet albedo uploaded via Graphics::newTexture.
Definition Demo.cpp:169
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
Raw PCM audio buffer with format metadata (samples/rate/bit depth/channels).
Definition SoundData.h:15
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25