#include <LightCategory.hpp>
◆ LightCategory()
Constructor.
- Parameters
-
[in] | lightType | The light category type. |
[in] | light | The parent Light. |
◆ ~LightCategory()
virtual C3D_API castor3d::LightCategory::~LightCategory |
( |
| ) |
|
|
virtualdefault |
◆ fillBuffer()
Puts the light into the given texture.
- Parameters
-
[out] | data | Receives the light's data. |
◆ getBoundingBox()
castor::BoundingBox const & castor3d::LightCategory::getBoundingBox |
( |
| ) |
const |
|
inline |
◆ getColour() [1/2]
castor::Point3f & castor3d::LightCategory::getColour |
( |
| ) |
|
|
inline |
◆ getColour() [2/2]
castor::Point3f const & castor3d::LightCategory::getColour |
( |
| ) |
const |
|
inline |
◆ getDiffuseIntensity()
float castor3d::LightCategory::getDiffuseIntensity |
( |
| ) |
const |
|
inline |
◆ getFarPlane()
float castor3d::LightCategory::getFarPlane |
( |
| ) |
const |
|
inline |
◆ getIntensity() [1/2]
castor::Point2f & castor3d::LightCategory::getIntensity |
( |
| ) |
|
|
inline |
◆ getIntensity() [2/2]
castor::Point2f const & castor3d::LightCategory::getIntensity |
( |
| ) |
const |
|
inline |
◆ getLight() [1/2]
Light & castor3d::LightCategory::getLight |
( |
| ) |
|
|
inline |
◆ getLight() [2/2]
Light const & castor3d::LightCategory::getLight |
( |
| ) |
const |
|
inline |
◆ getLightType()
LightType castor3d::LightCategory::getLightType |
( |
| ) |
const |
|
inline |
◆ getLpvConfig()
◆ getRsmConfig()
◆ getShadowConfig()
◆ getShadowPcfOffsets()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowPcfOffsets |
( |
| ) |
const |
◆ getShadowRawOffsets()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowRawOffsets |
( |
| ) |
const |
◆ getShadowVariance()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowVariance |
( |
| ) |
const |
◆ getSpecularIntensity()
float castor3d::LightCategory::getSpecularIntensity |
( |
| ) |
const |
|
inline |
◆ getVolumetricScatteringFactor()
C3D_API float castor3d::LightCategory::getVolumetricScatteringFactor |
( |
| ) |
const |
◆ getVolumetricSteps()
C3D_API uint32_t castor3d::LightCategory::getVolumetricSteps |
( |
| ) |
const |
◆ setColour()
C3D_API void castor3d::LightCategory::setColour |
( |
castor::Point3f const & |
value | ) |
|
◆ setDiffuseIntensity()
C3D_API void castor3d::LightCategory::setDiffuseIntensity |
( |
float |
value | ) |
|
◆ setIntensity()
C3D_API void castor3d::LightCategory::setIntensity |
( |
castor::Point2f const & |
value | ) |
|
◆ setPcfMaxSlopeOffset()
C3D_API void castor3d::LightCategory::setPcfMaxSlopeOffset |
( |
float |
value | ) |
|
◆ setPcfMinOffset()
C3D_API void castor3d::LightCategory::setPcfMinOffset |
( |
float |
value | ) |
|
◆ setRawMaxSlopeOffset()
C3D_API void castor3d::LightCategory::setRawMaxSlopeOffset |
( |
float |
value | ) |
|
◆ setRawMinOffset()
C3D_API void castor3d::LightCategory::setRawMinOffset |
( |
float |
value | ) |
|
◆ setSpecularIntensity()
C3D_API void castor3d::LightCategory::setSpecularIntensity |
( |
float |
value | ) |
|
◆ setVolumetricScatteringFactor()
C3D_API void castor3d::LightCategory::setVolumetricScatteringFactor |
( |
float |
value | ) |
|
◆ setVolumetricSteps()
C3D_API void castor3d::LightCategory::setVolumetricSteps |
( |
uint32_t |
value | ) |
|
◆ setVsmMaxVariance()
C3D_API void castor3d::LightCategory::setVsmMaxVariance |
( |
float |
value | ) |
|
◆ setVsmVarianceBias()
C3D_API void castor3d::LightCategory::setVsmVarianceBias |
( |
float |
value | ) |
|
◆ update()
virtual C3D_API void castor3d::LightCategory::update |
( |
| ) |
|
|
pure virtual |
◆ updateNode()
virtual C3D_API void castor3d::LightCategory::updateNode |
( |
SceneNode const & |
node | ) |
|
|
protectedpure virtual |
Updates the light source's informations related to the scene node.
- Parameters
-
◆ Light
◆ m_cubeBox
castor::BoundingBox castor3d::LightCategory::m_cubeBox |
|
protected |
◆ m_farPlane
float castor3d::LightCategory::m_farPlane { 1.0f } |
|
protected |
◆ m_shadowMapIndex
int32_t castor3d::LightCategory::m_shadowMapIndex { -1 } |
|
protected |
The light source shadow map index.
The documentation for this class was generated from the following file: