载入中...
搜索中...
未找到
Batcher.cpp
浏览该文件的文档.
void addRect(float x, float y, float w, float h, const Color &color)
Adds rect.
Definition Batcher.cpp:10
void addTriangle(glm::vec2 a, glm::vec2 b, glm::vec2 c, const Color &color)
Adds one arbitrary solid triangle in logical Canvas coordinates.
Definition Batcher.cpp:14
void addRectRotated(float cx, float cy, float w, float h, float degrees, const Color &color)
Adds rect rotated.
Definition Batcher.cpp:91
void addTexturedRect(float x, float y, float w, float h, const Color &color, float u0, float v0, float u1, float v1, bool rotatedUV=false)
Adds textured rect.
Definition Batcher.cpp:25
void addTexturedRectRotated(float cx, float cy, float w, float h, float degrees, const Color &color, float u0, float v0, float u1, float v1, bool rotatedUV=false)
Textured quad rotated degrees (clockwise, screen Y-down) around (cx, cy).
Definition Batcher.cpp:52
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
eve::Color Color
RGBA color used by every graphics draw call. Lives inside eve::graphics so including a graphics heade...
Definition Color.h:13
CPU-side vertex for 2D batching (logical or NDC depending on stage).
Definition Batcher.h:14