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

Clustered forward grid (CPU assign, GPU consume). 更多...

#include <ClusteredLight.h>

静态 Public 属性

static constexpr int kTilesX = 16
 
static constexpr int kTilesY = 9
 
static constexpr int kSlices = 24
 
static constexpr int kClusterCount = kTilesX * kTilesY * kSlices
 
static constexpr int kMaxLights = 256
 
static constexpr int kMaxLightsPerCluster = 32
 

详细描述

Clustered forward grid (CPU assign, GPU consume).

在文件 ClusteredLight.h12 行定义.

类成员变量说明

◆ kClusterCount

constexpr int eve::graphics::ClusteredLightConfig::kClusterCount = kTilesX * kTilesY * kSlices
staticconstexpr

在文件 ClusteredLight.h16 行定义.

被这些函数引用 eve::graphics::buildClusteredLighting().

◆ kMaxLights

constexpr int eve::graphics::ClusteredLightConfig::kMaxLights = 256
staticconstexpr

◆ kMaxLightsPerCluster

constexpr int eve::graphics::ClusteredLightConfig::kMaxLightsPerCluster = 32
staticconstexpr

在文件 ClusteredLight.h18 行定义.

被这些函数引用 eve::graphics::buildClusteredLighting().

◆ kSlices

constexpr int eve::graphics::ClusteredLightConfig::kSlices = 24
staticconstexpr

在文件 ClusteredLight.h15 行定义.

被这些函数引用 eve::graphics::buildClusteredLighting().

◆ kTilesX

constexpr int eve::graphics::ClusteredLightConfig::kTilesX = 16
staticconstexpr

在文件 ClusteredLight.h13 行定义.

被这些函数引用 eve::graphics::buildClusteredLighting().

◆ kTilesY

constexpr int eve::graphics::ClusteredLightConfig::kTilesY = 9
staticconstexpr

在文件 ClusteredLight.h14 行定义.

被这些函数引用 eve::graphics::buildClusteredLighting().


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