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

CPU-built clustered lighting upload for one frame/camera. Point lights are clustered; directional lights become the primary dir (first by intensity). 更多...

#include <ClusteredLight.h>

Public 属性

glm::vec4 ambient {0.12f, 0.12f, 0.14f, 0.f}
 
glm::vec4 gridInfo
 
glm::vec4 clipInfo {0.1f, 100.f, 1.f, 1.f}
 
glm::mat4 view {1.f}
 
glm::vec4 primaryDir {0.4f, 1.f, 0.3f, 0.f}
 
glm::vec4 primaryColor {1.f, 1.f, 1.f, 1.f}
 
std::vector< ClusteredLightGpulights
 
std::vector< ClusterTableEntryclusterTable
 
std::vector< uint32_t > lightIndices
 
bool active = false
 

详细描述

CPU-built clustered lighting upload for one frame/camera. Point lights are clustered; directional lights become the primary dir (first by intensity).

在文件 ClusteredLight.h32 行定义.

类成员变量说明

◆ active

◆ ambient

glm::vec4 eve::graphics::ClusteredLightingUpload::ambient {0.12f, 0.12f, 0.14f, 0.f}

◆ clipInfo

glm::vec4 eve::graphics::ClusteredLightingUpload::clipInfo {0.1f, 100.f, 1.f, 1.f}

◆ clusterTable

std::vector<ClusterTableEntry> eve::graphics::ClusteredLightingUpload::clusterTable

在文件 ClusteredLight.h41 行定义.

◆ gridInfo

glm::vec4 eve::graphics::ClusteredLightingUpload::gridInfo

◆ lightIndices

std::vector<uint32_t> eve::graphics::ClusteredLightingUpload::lightIndices

在文件 ClusteredLight.h42 行定义.

◆ lights

std::vector<ClusteredLightGpu> eve::graphics::ClusteredLightingUpload::lights

在文件 ClusteredLight.h40 行定义.

◆ primaryColor

glm::vec4 eve::graphics::ClusteredLightingUpload::primaryColor {1.f, 1.f, 1.f, 1.f}

在文件 ClusteredLight.h39 行定义.

被这些函数引用 eve::graphics::vulkan::Graphics::drawMeshShader().

◆ primaryDir

glm::vec4 eve::graphics::ClusteredLightingUpload::primaryDir {0.4f, 1.f, 0.3f, 0.f}

在文件 ClusteredLight.h38 行定义.

被这些函数引用 eve::graphics::vulkan::Graphics::drawMeshShader().

◆ view

glm::mat4 eve::graphics::ClusteredLightingUpload::view {1.f}

在文件 ClusteredLight.h37 行定义.

被这些函数引用 eve::graphics::vulkan::Graphics::drawMeshShader().


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