Castor3D  0.11.0
Multiplatform 3D engine
Classes | Fonctions | Variables
Référence de l'espace de nommage castor3d::shader

Classes

struct  BaseMaterial
 
class  CookTorranceBRDF
 
struct  DirectionalLight
 
class  Fog
 
class  GlobalIllumination
 
struct  LayeredLpvGridData
 
struct  LegacyMaterial
 
class  LegacyMaterials
 
struct  Light
 
class  LightingModel
 
struct  LpvGridData
 
struct  LpvLightData
 
class  Materials
 
class  MetallicBrdfLightingModel
 
class  MetallicPbrReflectionModel
 
struct  MetallicRoughnessMaterial
 
struct  OutputComponents
 
class  PbrMRMaterials
 
class  PbrSGMaterials
 
class  PhongLightingModel
 
class  PhongReflectionModel
 
struct  PointLight
 
class  Shadow
 
struct  ShadowOptions
 
class  SpecularBrdfLightingModel
 
struct  SpecularGlossinessMaterial
 
class  SpecularPbrReflectionModel
 
struct  SpotLight
 
class  SssTransmittance
 
struct  Surface
 
struct  TextureConfigData
 
class  TextureConfigurations
 
class  Utils
 
struct  Voxel
 
struct  VoxelData
 

Fonctions

 CU_DeclareSmartPtr (BaseMaterial)
 
C3D_API ast::expr::ExprList makeFnArg (sdw::ShaderWriter &shader, OutputComponents const &value)
 
 Writer_Parameter (Voxel)
 
 Writer_Parameter (Light)
 
 Writer_Parameter (DirectionalLight)
 
 Writer_Parameter (PointLight)
 
 Writer_Parameter (SpotLight)
 
 Writer_Parameter (TextureConfigData)
 
 Writer_Parameter (LayeredLpvGridData)
 
 Writer_Parameter (LpvLightData)
 
 Writer_Parameter (LpvGridData)
 
 Writer_Parameter (VoxelData)
 
 Writer_Parameter (Surface)
 
C3D_API std::unique_ptr< MaterialscreateMaterials (sdw::ShaderWriter &writer, PassFlags const &passFlags)
 Crée le tampon de matériaux GLSL approprié. Plus de détails...
 
C3D_API uint32_t getSpotShadowMapCount ()
 
C3D_API uint32_t getPointShadowMapCount ()
 
C3D_API uint32_t getBaseLightComponentsCount ()
 
C3D_API uint32_t getMaxLightComponentsCount ()
 

Variables

castor::String const PassBufferName = cuT( "Materials" )
 
castor::String const TextureConfigurationBufferName = cuT( "TextureConfigurations" )
 
constexpr uint32_t LpvMaxCascadesCount = 3u
 
constexpr uint32_t DirectionalMaxCascadesCount = 4u
 
static uint32_t constexpr MaxMaterialsCount = 2000u
 
static int constexpr MaxMaterialComponentsCount = 15
 
static uint32_t constexpr MaxTransmittanceProfileSize = 10u
 
static uint32_t constexpr MaxTextureConfigurationCount = 4000u
 
static int constexpr MaxTextureConfigurationComponentsCount = 9
 

Documentation des fonctions

◆ createMaterials()

C3D_API std::unique_ptr< Materials > castor3d::shader::createMaterials ( sdw::ShaderWriter &  writer,
PassFlags const &  passFlags 
)

Crée le tampon de matériaux GLSL approprié.

Paramètres
[in]writerLe writer GLSL.
passFlagsLes indicateurs de passe.

◆ CU_DeclareSmartPtr()

castor3d::shader::CU_DeclareSmartPtr ( BaseMaterial  )

◆ getBaseLightComponentsCount()

C3D_API uint32_t castor3d::shader::getBaseLightComponentsCount ( )

◆ getMaxLightComponentsCount()

C3D_API uint32_t castor3d::shader::getMaxLightComponentsCount ( )

◆ getPointShadowMapCount()

C3D_API uint32_t castor3d::shader::getPointShadowMapCount ( )

◆ getSpotShadowMapCount()

C3D_API uint32_t castor3d::shader::getSpotShadowMapCount ( )

◆ makeFnArg()

C3D_API ast::expr::ExprList castor3d::shader::makeFnArg ( sdw::ShaderWriter &  shader,
OutputComponents const &  value 
)

◆ Writer_Parameter() [1/11]

castor3d::shader::Writer_Parameter ( Voxel  )

◆ Writer_Parameter() [2/11]

castor3d::shader::Writer_Parameter ( Light  )

◆ Writer_Parameter() [3/11]

castor3d::shader::Writer_Parameter ( DirectionalLight  )

◆ Writer_Parameter() [4/11]

castor3d::shader::Writer_Parameter ( PointLight  )

◆ Writer_Parameter() [5/11]

castor3d::shader::Writer_Parameter ( SpotLight  )

◆ Writer_Parameter() [6/11]

castor3d::shader::Writer_Parameter ( TextureConfigData  )

◆ Writer_Parameter() [7/11]

castor3d::shader::Writer_Parameter ( LayeredLpvGridData  )

◆ Writer_Parameter() [8/11]

castor3d::shader::Writer_Parameter ( LpvLightData  )

◆ Writer_Parameter() [9/11]

castor3d::shader::Writer_Parameter ( LpvGridData  )

◆ Writer_Parameter() [10/11]

castor3d::shader::Writer_Parameter ( VoxelData  )

◆ Writer_Parameter() [11/11]

castor3d::shader::Writer_Parameter ( Surface  )

Documentation des variables

◆ DirectionalMaxCascadesCount

constexpr uint32_t castor3d::shader::DirectionalMaxCascadesCount = 4u

◆ LpvMaxCascadesCount

constexpr uint32_t castor3d::shader::LpvMaxCascadesCount = 3u

◆ MaxMaterialComponentsCount

int constexpr castor3d::shader::MaxMaterialComponentsCount = 15
static

◆ MaxMaterialsCount

uint32_t constexpr castor3d::shader::MaxMaterialsCount = 2000u
static

◆ MaxTextureConfigurationComponentsCount

int constexpr castor3d::shader::MaxTextureConfigurationComponentsCount = 9
static

◆ MaxTextureConfigurationCount

uint32_t constexpr castor3d::shader::MaxTextureConfigurationCount = 4000u
static

◆ MaxTransmittanceProfileSize

uint32_t constexpr castor3d::shader::MaxTransmittanceProfileSize = 10u
static

◆ PassBufferName

castor::String const castor3d::shader::PassBufferName = cuT( "Materials" )

◆ TextureConfigurationBufferName

castor::String const castor3d::shader::TextureConfigurationBufferName = cuT( "TextureConfigurations" )