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

One allocated local (spot/point-face) shadow slot for the frame. @ownership Ephemeral CPU descriptor; GPU layer index is valid for the frame. 更多...

#include <ShadowScheme.h>

Public 属性

Light3D::Data * light = nullptr
 
ShadowMethod method = ShadowMethod::None
 
int layer = -1
 
int lightIndex = -1
 
glm::mat4 lightVP {1.f}
 
float bias = 0.002f
 
float strength = 1.f
 
float score = 0.f
 
bool needsUpdate = true
 When false, skip the shadow pass and keep the cached depth layer.
 

详细描述

One allocated local (spot/point-face) shadow slot for the frame. @ownership Ephemeral CPU descriptor; GPU layer index is valid for the frame.

在文件 ShadowScheme.h 第 92 行定义.

类成员变量说明

◆ bias

float eve::graphics::LocalShadowSlot::bias = 0.002f

在文件 ShadowScheme.h 第 98 行定义.

被这些函数引用 eve::graphics::RenderSystem3D::render() , 以及 eve::graphics::selectShadowCasters().

◆ layer

int eve::graphics::LocalShadowSlot::layer = -1

在文件 ShadowScheme.h 第 95 行定义.

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

◆ light

Light3D::Data* eve::graphics::LocalShadowSlot::light = nullptr

在文件 ShadowScheme.h 第 93 行定义.

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

◆ lightIndex

int eve::graphics::LocalShadowSlot::lightIndex = -1

在文件 ShadowScheme.h 第 96 行定义.

被这些函数引用 eve::graphics::RenderSystem3D::render() , 以及 eve::graphics::selectShadowCasters().

◆ lightVP

glm::mat4 eve::graphics::LocalShadowSlot::lightVP {1.f}

在文件 ShadowScheme.h 第 97 行定义.

被这些函数引用 eve::graphics::RenderSystem3D::render() , 以及 eve::graphics::selectShadowCasters().

◆ method

ShadowMethod eve::graphics::LocalShadowSlot::method = ShadowMethod::None

在文件 ShadowScheme.h 第 94 行定义.

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

◆ needsUpdate

bool eve::graphics::LocalShadowSlot::needsUpdate = true

When false, skip the shadow pass and keep the cached depth layer.

在文件 ShadowScheme.h 第 102 行定义.

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

◆ score

float eve::graphics::LocalShadowSlot::score = 0.f

在文件 ShadowScheme.h 第 100 行定义.

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

◆ strength

float eve::graphics::LocalShadowSlot::strength = 1.f

在文件 ShadowScheme.h 第 99 行定义.

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


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