Castor3D 0.12.0
Multiplatform 3D engine
|
Définitions de type | |
using | InVertexSurface = VertexSurfaceT< ast::var::Flag::eShaderInput > |
using | OutVertexSurface = FragmentSurfaceT< ast::var::Flag::eShaderOutput > |
using | InFragmentSurface = FragmentSurfaceT< ast::var::Flag::eShaderInput > |
Fonctions | |
C3D_API castor::String | getLightingModelName (Engine const &engine, PassTypeID passType) |
CU_DeclareSmartPtr (Material) | |
CU_DeclareSmartPtr (SssProfile) | |
C3D_API ast::expr::ExprList | makeFnArg (sdw::ShaderWriter &shader, OutputComponents const &value) |
template<typename LhsT , typename RhsT > | |
LhsT | translateUV (LhsT const &translate, RhsT const &uv) |
sdw::Vec2 | rotateUV (sdw::Vec2 const &rotate, sdw::Vec2 const &uv) |
sdw::Vec3 | rotateUV (sdw::Vec3 const &rotate, sdw::Vec3 const &uv) |
template<typename LhsT , typename RhsT > | |
LhsT | scaleUV (LhsT const &scale, RhsT const &uv) |
Writer_Parameter (Voxel) | |
template<ast::var::Flag FlagT> | |
static shader::ObjectsIds::Ids | getIds (sdw::Array< shader::ObjectsIds > const &data, shader::VertexSurfaceT< FlagT > const &surface, sdw::UInt pipelineID, sdw::Int drawID, ProgramFlags const &flags) |
template<ast::var::Flag FlagT> | |
static sdw::UInt | getNodeId (sdw::Array< shader::ObjectsIds > const &data, shader::VertexSurfaceT< FlagT > const &surface, sdw::UInt pipelineID, sdw::Int drawID, ProgramFlags const &flags) |
C3D_API sdw::UInt | getNodeId (sdw::Array< shader::ObjectsIds > const &data, sdw::UInt pipelineID, sdw::Int drawID) |
Writer_Parameter (BillboardData) | |
Writer_Parameter (GpInfoData) | |
Writer_Parameter (HdrConfigData) | |
Writer_Parameter (MatrixData) | |
Writer_Parameter (ModelInstancesData) | |
Writer_Parameter (ModelData) | |
Writer_Parameter (MorphingData) | |
Writer_Parameter (OverlayData) | |
Writer_Parameter (PickingData) | |
Writer_Parameter (RsmConfigData) | |
Writer_Parameter (SceneData) | |
Writer_Parameter (ShadowMapData) | |
Writer_Parameter (SsaoConfigData) | |
Writer_Parameter (TextureData) | |
Variables | |
castor::String const | PassBufferName = cuT( "Materials" ) |
castor::String const | TextureAnimationBufferName = cuT( "C3D_TextureAnimations" ) |
castor::String const | TextureConfigurationBufferName = cuT( "TextureConfigurations" ) |
using castor3d::shader::InFragmentSurface = typedef FragmentSurfaceT< ast::var::Flag::eShaderInput > |
using castor3d::shader::InVertexSurface = typedef VertexSurfaceT< ast::var::Flag::eShaderInput > |
using castor3d::shader::LightingModelCreator = typedef std::function< LightingModelPtr( sdw::ShaderWriter & writer , Utils & utils , ShadowOptions shadowsOptions , SssProfiles const * sssProfiles , bool isOpaqueProgram ) > |
using castor3d::shader::LightingModelFactory = typedef castor::Factory< LightingModel , castor::String , LightingModelPtr , LightingModelCreator > |
using castor3d::shader::LightingModelPtr = typedef std::unique_ptr< LightingModel > |
using castor3d::shader::OutVertexSurface = typedef FragmentSurfaceT< ast::var::Flag::eShaderOutput > |
using castor3d::shader::ReflectionModelPtr = typedef std::unique_ptr< ReflectionModel > |
using castor3d::shader::Surface = typedef SurfaceT< ast::var::Flag::eNone > |
C3D_API std::unique_ptr< Materials > castor3d::shader::createMaterials | ( | sdw::ShaderWriter & | writer, |
PassFlags const & | passFlags | ||
) |
Crée le tampon de matériaux GLSL approprié.
[in] | writer | Le writer GLSL. |
passFlags | Les indicateurs de passe. |
castor3d::shader::CU_DeclareSmartPtr | ( | Material | ) |
castor3d::shader::CU_DeclareSmartPtr | ( | SssProfile | ) |
C3D_API uint32_t castor3d::shader::getBaseLightComponentsCount | ( | ) |
|
static |
C3D_API castor::String castor3d::shader::getLightingModelName | ( | Engine const & | engine, |
PassTypeID | passType | ||
) |
C3D_API uint32_t castor3d::shader::getMaxLightComponentsCount | ( | ) |
C3D_API sdw::UInt castor3d::shader::getNodeId | ( | sdw::Array< shader::ObjectsIds > const & | data, |
sdw::UInt | pipelineID, | ||
sdw::Int | drawID | ||
) |
|
static |
C3D_API uint32_t castor3d::shader::getPointShadowMapCount | ( | ) |
C3D_API uint32_t castor3d::shader::getSpotShadowMapCount | ( | ) |
C3D_API ast::expr::ExprList castor3d::shader::makeFnArg | ( | sdw::ShaderWriter & | shader, |
OutputComponents const & | value | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
castor3d::shader::Writer_Parameter | ( | BillboardData | ) |
castor3d::shader::Writer_Parameter | ( | DirectionalLight | ) |
castor3d::shader::Writer_Parameter | ( | GpInfoData | ) |
castor3d::shader::Writer_Parameter | ( | HdrConfigData | ) |
castor3d::shader::Writer_Parameter | ( | LayeredLpvGridData | ) |
castor3d::shader::Writer_Parameter | ( | Light | ) |
castor3d::shader::Writer_Parameter | ( | LightMaterial | ) |
castor3d::shader::Writer_Parameter | ( | LpvGridData | ) |
castor3d::shader::Writer_Parameter | ( | LpvLightData | ) |
castor3d::shader::Writer_Parameter | ( | MatrixData | ) |
castor3d::shader::Writer_Parameter | ( | ModelData | ) |
castor3d::shader::Writer_Parameter | ( | ModelInstancesData | ) |
castor3d::shader::Writer_Parameter | ( | MorphingData | ) |
castor3d::shader::Writer_Parameter | ( | OverlayData | ) |
castor3d::shader::Writer_Parameter | ( | PbrLightMaterial | ) |
castor3d::shader::Writer_Parameter | ( | PhongLightMaterial | ) |
castor3d::shader::Writer_Parameter | ( | PickingData | ) |
castor3d::shader::Writer_Parameter | ( | PointLight | ) |
castor3d::shader::Writer_Parameter | ( | RsmConfigData | ) |
castor3d::shader::Writer_Parameter | ( | SceneData | ) |
castor3d::shader::Writer_Parameter | ( | ShadowMapData | ) |
castor3d::shader::Writer_Parameter | ( | SpotLight | ) |
castor3d::shader::Writer_Parameter | ( | SsaoConfigData | ) |
castor3d::shader::Writer_Parameter | ( | Surface | ) |
castor3d::shader::Writer_Parameter | ( | TextureConfigData | ) |
castor3d::shader::Writer_Parameter | ( | TextureData | ) |
castor3d::shader::Writer_Parameter | ( | Voxel | ) |
castor3d::shader::Writer_Parameter | ( | VoxelData | ) |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
castor::String const castor3d::shader::PassBufferName = cuT( "Materials" ) |
castor::String const castor3d::shader::TextureAnimationBufferName = cuT( "C3D_TextureAnimations" ) |
castor::String const castor3d::shader::TextureConfigurationBufferName = cuT( "TextureConfigurations" ) |