载入中...
搜索中...
未找到
eve::graphics::ICanvasFactory类 参考abstract
Narrow offscreen-Canvas allocation boundary for tools and optional modules. 更多...
#include <ICanvasFactory.h>
类 eve::graphics::ICanvasFactory 继承关系图:
Public 成员函数 | |
| virtual | ~ICanvasFactory ()=default |
| Releases ICanvasFactory resources. | |
| virtual Canvas * | newCanvas (int width, int height)=0 |
| Allocate a backend-owned sampleable Canvas with positive dimensions. | |
详细描述
Narrow offscreen-Canvas allocation boundary for tools and optional modules.
在文件 ICanvasFactory.h 第 8 行定义.
构造及析构函数说明
◆ ~ICanvasFactory()
|
virtualdefault |
Releases ICanvasFactory resources.
成员函数说明
◆ newCanvas()
|
pure virtual |
Allocate a backend-owned sampleable Canvas with positive dimensions.
- 返回
- Borrowed pointer owned by the graphics backend. @lifetime Valid until backend teardown or explicit canvas destruction.
在 eve::graphics::vulkan::Graphics, eve::graphics::webgpu::Graphics , 以及 eve::graphics::Graphics 内被实现.
该类的文档由以下文件生成:
- src/modules/graphics/ICanvasFactory.h