载入中...
搜索中...
未找到
StyleChain.cpp
浏览该文件的文档.
26void StyleChain::apply(graphics::Graphics *gfx, graphics::Texture *source, graphics::Canvas *dest,
Definition Exception.h:14
Definition Canvas.h:16
virtual int getWidth() const =0
virtual Texture * getTexture()=0
Sampleable color buffer; screen Canvas returns nullptr.
virtual int getHeight() const =0
Definition Graphics.h:56
virtual Canvas * getCanvas() const =0
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, const Color &color)=0
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:17
void applyCanvas(graphics::Graphics *gfx, graphics::Canvas *source, graphics::Canvas *dest, graphics::Canvas *temp=nullptr)
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:22
Definition ImageStylize.cpp:9