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 第 201 行定义.
类成员变量说明
◆ bias
| float eve::graphics::LocalShadowSlot::bias = 0.002f |
在文件 ShadowScheme.h 第 207 行定义.
◆ layer
| int eve::graphics::LocalShadowSlot::layer = -1 |
在文件 ShadowScheme.h 第 204 行定义.
◆ light
| Light3D::Data* eve::graphics::LocalShadowSlot::light = nullptr |
在文件 ShadowScheme.h 第 202 行定义.
被这些函数引用 eve::graphics::selectShadowCasters().
◆ lightIndex
| int eve::graphics::LocalShadowSlot::lightIndex = -1 |
在文件 ShadowScheme.h 第 205 行定义.
◆ lightVP
| glm::mat4 eve::graphics::LocalShadowSlot::lightVP {1.f} |
在文件 ShadowScheme.h 第 206 行定义.
◆ method
| ShadowMethod eve::graphics::LocalShadowSlot::method = ShadowMethod::None |
在文件 ShadowScheme.h 第 203 行定义.
◆ needsUpdate
| bool eve::graphics::LocalShadowSlot::needsUpdate = true |
When false, skip the shadow pass and keep the cached depth layer.
在文件 ShadowScheme.h 第 211 行定义.
被这些函数引用 eve::graphics::selectShadowCasters().
◆ score
| float eve::graphics::LocalShadowSlot::score = 0.f |
在文件 ShadowScheme.h 第 209 行定义.
◆ strength
| float eve::graphics::LocalShadowSlot::strength = 1.f |
在文件 ShadowScheme.h 第 208 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/ShadowScheme.h