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

GPU light packing for mesh3d / PBR (std140-friendly). 更多...

#include <Light.h>

Public 属性

glm::vec4 posRadius {0.f}
 
glm::vec4 color {0.f}
 
glm::vec4 spot {0.f, 0.f, 0.f, -1.f}
 Spot cone: xyz = world beam direction; w = spotScale (1/(cosInner-cosOuter)). w <= 0 means the light is not a spot (point or directional).
 

详细描述

GPU light packing for mesh3d / PBR (std140-friendly).

在文件 Light.h 第 161 行定义.

类成员变量说明

◆ color

glm::vec4 eve::graphics::Light3DGpu::color {0.f}

◆ posRadius

◆ spot

glm::vec4 eve::graphics::Light3DGpu::spot {0.f, 0.f, 0.f, -1.f}

Spot cone: xyz = world beam direction; w = spotScale (1/(cosInner-cosOuter)). w <= 0 means the light is not a spot (point or directional).

在文件 Light.h 第 168 行定义.


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