载入中...
搜索中...
未找到
StyleChain.cpp
浏览该文件的文档.
26void StyleChain::apply(graphics::Graphics *gfx, graphics::Texture *source, graphics::Canvas *dest,
virtual Texture * getTexture()=0
Sampleable color buffer; screen Canvas returns nullptr.
Definition Graphics.h:125
virtual void setCanvas(Canvas *canvas)=0
nullptr or this → screen. Switching flushes pending draws to the previous target.
virtual void drawTexturedRect(Texture *texture, float x, float y, float w, float h, float r, float g, float b, float a=1.f)
RGBA-float overload matching the script-facing drawTexturedRect name.
Definition Graphics.cpp:1732
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
void applyCanvas(graphics::Graphics *gfx, graphics::Canvas *source, graphics::Canvas *dest, graphics::Canvas *temp=nullptr)
Applies canvas.
Definition StyleChain.cpp:64
void apply(graphics::Graphics *gfx, graphics::Texture *source, graphics::Canvas *dest, graphics::Canvas *temp=nullptr)
Run passes in order into dest. When more than one pass is present, temp is required for ping-pong (sa...
Definition StyleChain.cpp:26
One stylized post-process pass bound to a style id (built-in or custom label). Draws a full-quad of t...
Definition StylePass.h:26
Definition MeshVfxPackage.h:10