#include <SceneUbo.hpp>
|
static C3D_API ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache) |
|
static C3D_API std::unique_ptr< sdw::Struct > | declare (sdw::ShaderWriter &writer) |
|
◆ SceneData()
C3D_API castor3d::shader::SceneData::SceneData |
( |
sdw::ShaderWriter & |
writer, |
|
|
ast::expr::ExprPtr |
expr, |
|
|
bool |
enabled |
|
) |
| |
◆ computeAccumulation()
C3D_API sdw::Vec4 castor3d::shader::SceneData::computeAccumulation |
( |
Utils & |
utils, |
|
|
sdw::Float const & |
depth, |
|
|
sdw::Vec3 const & |
colour, |
|
|
sdw::Float const & |
alpha, |
|
|
sdw::Float const & |
accumulationOperator |
|
) |
| const |
◆ declare()
static C3D_API std::unique_ptr< sdw::Struct > castor3d::shader::SceneData::declare |
( |
sdw::ShaderWriter & |
writer | ) |
|
|
static |
◆ getBackgroundColour() [1/2]
C3D_API sdw::Vec4 castor3d::shader::SceneData::getBackgroundColour |
( |
HdrConfigData const & |
hdrConfigData | ) |
const |
◆ getBackgroundColour() [2/2]
C3D_API sdw::Vec4 castor3d::shader::SceneData::getBackgroundColour |
( |
Utils & |
utils | ) |
const |
◆ getCameraToPos()
C3D_API sdw::Vec3 castor3d::shader::SceneData::getCameraToPos |
( |
sdw::Vec3 const & |
position | ) |
const |
◆ getPosToCamera()
C3D_API sdw::Vec3 castor3d::shader::SceneData::getPosToCamera |
( |
sdw::Vec3 const & |
position | ) |
const |
◆ makeType()
static C3D_API ast::type::BaseStructPtr castor3d::shader::SceneData::makeType |
( |
ast::type::TypesCache & |
cache | ) |
|
|
static |
◆ SDW_DeclStructInstance()
◆ transformCamera()
C3D_API sdw::Vec3 castor3d::shader::SceneData::transformCamera |
( |
sdw::Mat3 const & |
transform | ) |
const |
◆ BillboardData
◆ CommonFog
◆ Fog
◆ ambientLight
sdw::Vec3 castor3d::shader::SceneData::ambientLight |
◆ cameraPosition
sdw::Vec3 castor3d::shader::SceneData::cameraPosition |
◆ directionalLightCount
sdw::Int castor3d::shader::SceneData::directionalLightCount |
◆ farPlane
sdw::Float castor3d::shader::SceneData::farPlane |
◆ fogDensity
sdw::Float castor3d::shader::SceneData::fogDensity |
◆ fogType
sdw::UInt castor3d::shader::SceneData::fogType |
◆ gamma
sdw::Float castor3d::shader::SceneData::gamma |
◆ nearPlane
sdw::Float castor3d::shader::SceneData::nearPlane |
◆ pointLightCount
sdw::Int castor3d::shader::SceneData::pointLightCount |
◆ renderSize
sdw::Vec2 castor3d::shader::SceneData::renderSize |
◆ spotLightCount
sdw::Int castor3d::shader::SceneData::spotLightCount |
La documentation de cette structure a été générée à partir du fichier suivant :