Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::BaseDataComponentT< SubmeshDataT, DataT >::SurfaceShader Struct Reference

#include <BaseDataComponent.hpp>

Inheritance diagram for castor3d::BaseDataComponentT< SubmeshDataT, DataT >::SurfaceShader:
Inheritance graph
[legend]
Collaboration diagram for castor3d::BaseDataComponentT< SubmeshDataT, DataT >::SurfaceShader:
Collaboration graph
[legend]

Public Member Functions

C3D_API void fillSurfaceType (sdw::type::Struct &type, uint32_t *index) const override
 Fills the surface shader struct with the members provided by this component.
 
- Public Member Functions inherited from castor3d::SubmeshSubComponent
 SubmeshSubComponent ()=default
 
 SubmeshSubComponent (SubmeshSubComponent const &)=delete
 
SubmeshSubComponentoperator= (SubmeshSubComponent const &)=delete
 
C3D_API SubmeshSubComponent (SubmeshSubComponent &&) noexcept=default
 
C3D_API SubmeshSubComponentoperator= (SubmeshSubComponent &&) noexcept=default
 
virtual C3D_API ~SubmeshSubComponent () noexcept=default
 

Member Function Documentation

◆ fillSurfaceType()

template<SubmeshData SubmeshDataT, typename DataT >
C3D_API void castor3d::BaseDataComponentT< SubmeshDataT, DataT >::SurfaceShader::fillSurfaceType ( sdw::type::Struct & type,
uint32_t * index ) const
inlineoverridevirtual

Fills the surface shader struct with the members provided by this component.

Parameters
[in,out]typeReceives the members.
[in,out]indexThe optional first component member index, that will be incremented if it is defined.

Reimplemented from castor3d::shader::SubmeshVertexSurfaceShader.

References castor3d::fillBaseSurfaceType().

Here is the call graph for this function:

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