载入中...
搜索中...
未找到
eve::graphics::FrameDrawList3D结构体 参考
Double-buffered per-frame draw list written by the prep jobs and only read by the render thread. Vectors keep their capacity across frames, so the steady state does not allocate per frame. 更多...
#include <FrameDrawList.h>
Public 成员函数 | |
| void | reset () |
| Clear both lists, keeping capacity for the next frame. | |
Public 属性 | |
| std::vector< RenderItem3D > | opaque |
| std::vector< RenderItem3D > | hair |
| bool | hasAny = false |
详细描述
Double-buffered per-frame draw list written by the prep jobs and only read by the render thread. Vectors keep their capacity across frames, so the steady state does not allocate per frame.
在文件 FrameDrawList.h 第 49 行定义.
成员函数说明
◆ reset()
|
inline |
Clear both lists, keeping capacity for the next frame.
在文件 FrameDrawList.h 第 51 行定义.
类成员变量说明
◆ hair
| std::vector<RenderItem3D> eve::graphics::FrameDrawList3D::hair |
在文件 FrameDrawList.h 第 58 行定义.
被这些函数引用 reset().
◆ hasAny
| bool eve::graphics::FrameDrawList3D::hasAny = false |
在文件 FrameDrawList.h 第 59 行定义.
被这些函数引用 reset().
◆ opaque
| std::vector<RenderItem3D> eve::graphics::FrameDrawList3D::opaque |
在文件 FrameDrawList.h 第 57 行定义.
被这些函数引用 reset().
该结构体的文档由以下文件生成:
- src/modules/graphics/FrameDrawList.h