#include <LightCategory.hpp>
◆ LightCategory()
C3D_API castor3d::LightCategory::LightCategory |
( |
LightType | lightType, |
|
|
Light & | light, |
|
|
uint32_t | lightComponentCount, |
|
|
uint32_t | shadowComponentCount ) |
|
explicitprotected |
Constructeur.
- Paramètres
-
[in] | lightType | Le type de catégorie de lumière. |
[in] | light | La Light parente. |
[in] | lightComponentCount | Le nombre de vec4 utilisés pour stocker les données de lumière. |
[in] | shadowComponentCount | Le nombre de vec4 utilisés pour stocker les données d'ombres. |
◆ ~LightCategory()
virtual C3D_API castor3d::LightCategory::~LightCategory |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ accept()
◆ doFillBaseShadowData()
Met les données d'ombre dans le buffer donné.
- Paramètres
-
[out] | data | Reçoit les données d'ombres de la source lumineuse. |
◆ fillLightBuffer()
C3D_API void castor3d::LightCategory::fillLightBuffer |
( |
castor::Point4f * | data | ) |
const |
Met la lumière dans le buffer donné.
- Paramètres
-
[out] | data | Reçoit les données de la source lumineuse. |
◆ 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
La cube box pour le volume d'effet de la lumière.
Référencé par getBoundingBox().
◆ m_farPlane
float castor3d::LightCategory::m_farPlane { 1.0f } |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :