载入中...
搜索中...
未找到
eve::graphics::TriangleCommand2D结构体 参考

One owning filled 2D triangle command. 更多...

#include <PrimitiveDrawList.h>

Public 属性

std::array< glm::vec2, 3 > points
 
glm::mat3 transform {1.f}
 
PrimitivePaint paint
 
std::optional< std::array< Color, 3 > > vertexColors
 

详细描述

One owning filled 2D triangle command.

在文件 PrimitiveDrawList.h 第 28 行定义.

类成员变量说明

◆ paint

PrimitivePaint eve::graphics::TriangleCommand2D::paint

在文件 PrimitiveDrawList.h 第 31 行定义.

◆ points

std::array<glm::vec2, 3> eve::graphics::TriangleCommand2D::points

在文件 PrimitiveDrawList.h 第 29 行定义.

◆ transform

glm::mat3 eve::graphics::TriangleCommand2D::transform {1.f}

在文件 PrimitiveDrawList.h 第 30 行定义.

◆ vertexColors

std::optional<std::array<Color, 3> > eve::graphics::TriangleCommand2D::vertexColors

在文件 PrimitiveDrawList.h 第 32 行定义.


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