载入中...
搜索中...
未找到
RenderSystem.h
浏览该文件的文档.
float screenToWorldY(float screenX, float screenY, float viewW, float viewH)
Definition RenderSystem.cpp:42
float worldToScreenY(float worldX, float worldY, float viewW, float viewH)
Definition RenderSystem.cpp:54
float worldToScreenX(float worldX, float worldY, float viewW, float viewH)
Definition RenderSystem.cpp:48
float screenToWorldX(float screenX, float screenY, float viewW, float viewH)
Convert screen pixel (origin top-left of viewport) to world coordinates. viewW/viewH are the current ...
Definition RenderSystem.cpp:36
void setAmbient(float r, float g, float b)
Definition RenderSystem.cpp:17
void setPosition(float x, float y)
World-space look-at center and zoom (1 = identity).
Definition RenderSystem.cpp:24
Definition Canvas.h:16
Definition Graphics.h:56
Pixel-space sub-rectangle of a Texture (atlas cell / sprite frame). UV conversion uses the texture's ...
Definition Quad.h:9
Walks ECS Renderable2D views and draws via Graphics batch path.
Definition RenderSystem.h:105
static void render(Graphics &gfx)
Full sprite pass + present (existing tests / sprite-only scenes).
Definition RenderSystem.cpp:376
static void collectSprites(std::vector< DrawItem2D > &out)
Append visible Renderable2D sprites into a shared queue.
Definition RenderSystem.cpp:197
static void drawItems(Graphics &gfx, std::vector< DrawItem2D > &items, bool present)
Sort and draw items. If present=true, calls gfx.present() at the end. Map::render uses present=false ...
Definition RenderSystem.cpp:257
Default renderable entity for declarative 2D sprites / solid quads.
Definition RenderSystem.h:65
void setCastOcclusion(bool cast)
Definition RenderSystem.cpp:60
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:17
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition AnimTrail.h:6
Texture * normalTexture
Definition RenderSystem.h:86