载入中...
搜索中...
未找到
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
27 ~Demo() override;
28
30 sound::SoundData *newSound(const std::string &kind);
31
34};
35
36} // namespace eve::demo
Tok kind
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() override
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:17
Raw PCM audio buffer with format metadata (samples/rate/bit depth/channels).
Definition SoundData.h:13
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition AnimTrail.h:6