载入中...
搜索中...
未找到
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< RenderItem3Dopaque
 
std::vector< RenderItem3Dhair
 
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.h49 行定义.

成员函数说明

◆ reset()

void eve::graphics::FrameDrawList3D::reset ( )
inline

Clear both lists, keeping capacity for the next frame.

在文件 FrameDrawList.h51 行定义.

引用了 hair, hasAny , 以及 opaque.

类成员变量说明

◆ hair

std::vector<RenderItem3D> eve::graphics::FrameDrawList3D::hair

在文件 FrameDrawList.h58 行定义.

被这些函数引用 reset().

◆ hasAny

bool eve::graphics::FrameDrawList3D::hasAny = false

在文件 FrameDrawList.h59 行定义.

被这些函数引用 reset().

◆ opaque

std::vector<RenderItem3D> eve::graphics::FrameDrawList3D::opaque

在文件 FrameDrawList.h57 行定义.

被这些函数引用 reset().


该结构体的文档由以下文件生成: