Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::SubmeshRenderShader Struct Referenceabstract

#include <SubmeshComponent.hpp>

Inheritance diagram for castor3d::SubmeshRenderShader:
Inheritance graph
[legend]
Collaboration diagram for castor3d::SubmeshRenderShader:
Collaboration graph
[legend]

Public Member Functions

virtual C3D_API SubmeshRenderDataPtr createData (castor3d::SubmeshComponent const &component)=0
 
virtual C3D_API void getShaderSource (Engine const &engine, PipelineFlags const &flags, ComponentModeFlags const &componentsMask, ast::ShaderBuilder &builder) const =0
 Retrieves the shader source matching the given flags.
 
- 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

◆ createData()

virtual C3D_API SubmeshRenderDataPtr castor3d::SubmeshRenderShader::createData ( castor3d::SubmeshComponent const & component)
pure virtual
Returns
The render shader's data.

Implemented in castor3d::DefaultRenderComponent::RenderShader.

◆ getShaderSource()

virtual C3D_API void castor3d::SubmeshRenderShader::getShaderSource ( Engine const & engine,
PipelineFlags const & flags,
ComponentModeFlags const & componentsMask,
ast::ShaderBuilder & builder ) const
pure virtual

Retrieves the shader source matching the given flags.

Parameters
[in]engineThe engine.
[in]flagsThe pipeline flags.
[in]componentsMaskThe nodes pass components flags.
[in]builderThe shader builder.

Implemented in castor3d::DefaultRenderComponent::RenderShader.


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