载入中...
搜索中...
未找到
eve::graphics::ICanvasTarget类 参考abstract
Narrow render-target binding boundary for optional tooling modules. 更多...
#include <ICanvasTarget.h>
类 eve::graphics::ICanvasTarget 继承关系图:
Public 成员函数 | |
| virtual | ~ICanvasTarget ()=default |
| Releases ICanvasTarget resources. | |
| virtual void | setCanvas (Canvas *canvas)=0 |
| Bind an offscreen Canvas, or nullptr to restore the screen target. | |
| virtual Canvas * | getCanvas () const =0 |
| Return the currently bound Canvas, or nullptr for the screen target. | |
详细描述
Narrow render-target binding boundary for optional tooling modules.
在文件 ICanvasTarget.h 第 6 行定义.
构造及析构函数说明
◆ ~ICanvasTarget()
|
virtualdefault |
Releases ICanvasTarget resources.
成员函数说明
◆ getCanvas()
|
pure virtual |
Return the currently bound Canvas, or nullptr for the screen target.
- 返回
- Borrowed pointer owned by the graphics backend. @lifetime Valid until the target is rebound or backend teardown.
在 eve::graphics::Graphics, eve::graphics::vulkan::Graphics , 以及 eve::graphics::webgpu::Graphics 内被实现.
◆ setCanvas()
|
pure virtual |
Bind an offscreen Canvas, or nullptr to restore the screen target.
在 eve::graphics::vulkan::Graphics, eve::graphics::webgpu::Graphics , 以及 eve::graphics::Graphics 内被实现.
该类的文档由以下文件生成:
- src/modules/graphics/ICanvasTarget.h