载入中...
搜索中...
未找到
StyleShaders.h
浏览该文件的文档.
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <vector>
6
7namespace eve::graphics {
8class Graphics;
9class Shader;
10} // namespace eve::graphics
11
12namespace eve::stylize {
13
15bool isKnownStyle(const std::string &style);
16int styleCount();
17std::string styleIdAt(int index);
18
20bool styleSupports(const std::string &style, const std::string &feature);
21
23int styleParamCount(const std::string &style);
24std::string styleParamName(const std::string &style, int index);
25
27void bindPostUniforms(graphics::Shader *shader, const std::string &style);
28
30void bindMeshUniforms(graphics::Shader *shader, const std::string &style);
31
33graphics::Shader *createPostShader(graphics::Graphics *gfx, const std::string &style);
34
39graphics::Shader *createMeshShader(graphics::Graphics *gfx, const std::string &style);
40
41} // namespace eve::stylize
Shader * shader
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition AnimTrail.h:6
std::string styleIdAt(int index)
graphics::Shader * createPostShader(graphics::Graphics *gfx, const std::string &style)
graphics::Shader * createMeshShader(graphics::Graphics *gfx, const std::string &style)
void bindPostUniforms(graphics::Shader *shader, const std::string &style)
std::string styleParamName(const std::string &style, int index)
void bindMeshUniforms(graphics::Shader *shader, const std::string &style)
bool isKnownStyle(const std::string &style)
bool styleSupports(const std::string &style, const std::string &feature)
int styleParamCount(const std::string &style)