Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::shader::PassMaterialShader Struct Reference

#include <PassComponent.hpp>

Inheritance diagram for castor3d::shader::PassMaterialShader:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::PassMaterialShader:
Collaboration graph
[legend]

Public Member Functions

C3D_API PassMaterialShader (VkDeviceSize dataSize)
 
virtual C3D_API void fillMaterialType (sdw::type::BaseStruct &type, sdw::expr::ExprList &inits) const
 Fills the material shader struct with the members provided by this component, and their initialisers.
 

Getters.

MemChunk const & getMaterialChunk () const
 
- Public Member Functions inherited from castor3d::shader::PassShader
 PassShader ()=default
 
 PassShader (PassShader const &)=delete
 
PassShaderoperator= (PassShader const &)=delete
 
C3D_API PassShader (PassShader &&)=default
 
C3D_API PassShaderoperator= (PassShader &&)=default
 
virtual C3D_API ~PassShader ()=default
 

Constructor & Destructor Documentation

◆ PassMaterialShader()

C3D_API castor3d::shader::PassMaterialShader::PassMaterialShader ( VkDeviceSize dataSize)
inlineexplicit
Parameters
[in]dataSizeThe size of this component's data, to reserve it in PassBuffer.

Member Function Documentation

◆ fillMaterialType()

virtual C3D_API void castor3d::shader::PassMaterialShader::fillMaterialType ( sdw::type::BaseStruct & type,
sdw::expr::ExprList & inits ) const
inlinevirtual

◆ getMaterialChunk()

MemChunk const & castor3d::shader::PassMaterialShader::getMaterialChunk ( ) const
inline

The documentation for this struct was generated from the following file: