#include <LightCategory.hpp>
◆ LightCategory()
C3D_API castor3d::LightCategory::LightCategory |
( |
LightType | lightType, |
|
|
Light & | light, |
|
|
uint32_t | lightComponentCount, |
|
|
uint32_t | shadowComponentCount ) |
|
explicitprotected |
Constructor.
- Parameters
-
[in] | lightType | The light category type. |
[in] | light | The parent Light. |
[in] | lightComponentCount | The number of vec4 used to store light data. |
[in] | shadowComponentCount | The number of vec4 used to store shadow data. |
◆ ~LightCategory()
virtual C3D_API castor3d::LightCategory::~LightCategory |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ accept()
◆ doFillBaseShadowData()
Puts the shadow data into the given buffer.
- Parameters
-
[out] | data | Receives the light's shadow data. |
◆ fillLightBuffer()
C3D_API void castor3d::LightCategory::fillLightBuffer |
( |
castor::Point4f * | data | ) |
const |
Puts the light into the given buffer.
- Parameters
-
[out] | data | Receives the light's data. |
◆ fillShadowBuffer()
◆ getBoundingBox()
◆ 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 |
◆ getLightComponentCount()
uint32_t castor3d::LightCategory::getLightComponentCount |
( |
| ) |
const |
|
inline |
◆ getLightType()
LightType castor3d::LightCategory::getLightType |
( |
| ) |
const |
|
inline |
◆ getLpvConfig()
◆ getShadowComponentCount()
uint32_t castor3d::LightCategory::getShadowComponentCount |
( |
| ) |
const |
|
inline |
◆ getShadowConfig()
◆ getShadowPcfFilterSize()
◆ getShadowPcfOffsets()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowPcfOffsets |
( |
| ) |
const |
◆ getShadowPcfSampleCount()
◆ getShadowRawOffsets()
C3D_API castor::Point2f const & castor3d::LightCategory::getShadowRawOffsets |
( |
| ) |
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 |
◆ getVsmLightBleedingReduction()
C3D_API float castor3d::LightCategory::getVsmLightBleedingReduction |
( |
| ) |
const |
◆ getVsmMinVariance()
C3D_API float castor3d::LightCategory::getVsmMinVariance |
( |
| ) |
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 | ) |
|
◆ setPcfFilterSize()
C3D_API void castor3d::LightCategory::setPcfFilterSize |
( |
uint32_t | value | ) |
|
◆ setPcfMaxSlopeOffset()
C3D_API void castor3d::LightCategory::setPcfMaxSlopeOffset |
( |
float | value | ) |
|
◆ setPcfMinOffset()
C3D_API void castor3d::LightCategory::setPcfMinOffset |
( |
float | value | ) |
|
◆ setPcfSampleCount()
C3D_API void castor3d::LightCategory::setPcfSampleCount |
( |
uint32_t | 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 | ) |
|
◆ setVsmLightBleedingReduction()
C3D_API void castor3d::LightCategory::setVsmLightBleedingReduction |
( |
float | value | ) |
|
◆ setVsmMinVariance()
C3D_API void castor3d::LightCategory::setVsmMinVariance |
( |
float | value | ) |
|
◆ update()
virtual C3D_API void castor3d::LightCategory::update |
( |
| ) |
|
|
pure virtual |
◆ Light
◆ LightMbrAlign
uint32_t constexpr castor3d::LightCategory::LightMbrAlign = 4u * sizeof( float ) |
|
staticconstexpr |
◆ m_cubeBox
◆ m_farPlane
float castor3d::LightCategory::m_farPlane { 1.0f } |
|
protected |
The documentation for this class was generated from the following file: