#include <PassComponent.hpp>
◆ PassMaterialShader()
C3D_API castor3d::shader::PassMaterialShader::PassMaterialShader |
( |
VkDeviceSize | dataSize | ) |
|
|
inlineexplicit |
- Parameters
-
[in] | dataSize | The size of this component's data, to reserve it in PassBuffer. |
◆ fillMaterialType()
virtual C3D_API void castor3d::shader::PassMaterialShader::fillMaterialType |
( |
sdw::type::BaseStruct & | type, |
|
|
sdw::expr::ExprList & | inits ) const |
|
inlinevirtual |
Fills the material shader struct with the members provided by this component, and their initialisers.
- Parameters
-
[in,out] | type | Receives the members. |
[in] | inits | Receives the members initialisers. |
Reimplemented in castor3d::PassHeaderComponent::MaterialShader, castor3d::AmbientComponent::MaterialShader, castor3d::AttenuationComponent::MaterialShader, castor3d::ClearcoatComponent::MaterialShader, castor3d::EmissiveComponent::MaterialShader, castor3d::IridescenceComponent::MaterialShader, castor3d::LightingModelComponent::MaterialShader, castor3d::MetalnessComponent::MaterialShader, castor3d::RoughnessComponent::MaterialShader, castor3d::SheenComponent::MaterialShader, castor3d::SpecularComponent::MaterialShader, castor3d::SpecularFactorComponent::MaterialShader, castor3d::SubsurfaceScatteringComponent::MaterialShader, castor3d::ThicknessComponent::MaterialShader, castor3d::TransmissionComponent::MaterialShader, castor3d::TransmittanceComponent::MaterialShader, castor3d::AlphaTestComponent::MaterialShader, castor3d::ColourComponent::MaterialShader, castor3d::OpacityComponent::MaterialShader, castor3d::ReflectionComponent::MaterialShader, castor3d::RefractionComponent::MaterialShader, and castor3d::shader::PassMapMaterialShader.
◆ getMaterialChunk()
MemChunk const & castor3d::shader::PassMaterialShader::getMaterialChunk |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: