#include <GlslLight.hpp>
|
static C3D_API ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache) |
|
static C3D_API std::unique_ptr< sdw::Struct > | declare (sdw::ShaderWriter &writer) |
|
◆ Light()
C3D_API castor3d::shader::Light::Light |
( |
sdw::ShaderWriter & |
writer, |
|
|
ast::expr::ExprPtr |
expr, |
|
|
bool |
enabled |
|
) |
| |
◆ declare()
static C3D_API std::unique_ptr< sdw::Struct > castor3d::shader::Light::declare |
( |
sdw::ShaderWriter & |
writer | ) |
|
|
static |
◆ makeType()
static C3D_API ast::type::BaseStructPtr castor3d::shader::Light::makeType |
( |
ast::type::TypesCache & |
cache | ) |
|
|
static |
◆ SDW_DeclStructInstance()
castor3d::shader::Light::SDW_DeclStructInstance |
( |
C3D_API |
, |
|
|
Light |
|
|
) |
| |
◆ updateShadowType()
void castor3d::shader::Light::updateShadowType |
( |
ShadowType |
type | ) |
|
|
inline |
◆ LightingModel
◆ colour
sdw::Vec3 castor3d::shader::Light::colour |
◆ farPlane
sdw::Float castor3d::shader::Light::farPlane |
◆ index
sdw::Int castor3d::shader::Light::index |
◆ intensity
sdw::Vec2 castor3d::shader::Light::intensity |
◆ pcfShadowOffsets
sdw::Vec2 castor3d::shader::Light::pcfShadowOffsets |
◆ rawShadowOffsets
sdw::Vec2 castor3d::shader::Light::rawShadowOffsets |
◆ shadowType
sdw::Int castor3d::shader::Light::shadowType |
◆ volumetricScattering
sdw::Float castor3d::shader::Light::volumetricScattering |
◆ volumetricSteps
sdw::UInt castor3d::shader::Light::volumetricSteps |
◆ vsmShadowVariance
sdw::Vec2 castor3d::shader::Light::vsmShadowVariance |
La documentation de cette structure a été générée à partir du fichier suivant :