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

#include <DefaultRenderComponent.hpp>

Inheritance diagram for castor3d::DefaultRenderComponent::RenderShader:
Inheritance graph
[legend]
Collaboration diagram for castor3d::DefaultRenderComponent::RenderShader:
Collaboration graph
[legend]

Public Member Functions

SubmeshRenderDataPtr createData (castor3d::SubmeshComponent const &component) override
 
void getShaderSource (Engine const &engine, PipelineFlags const &flags, ComponentModeFlags const &componentsMask, ast::ShaderBuilder &builder) const override
 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()

SubmeshRenderDataPtr castor3d::DefaultRenderComponent::RenderShader::createData ( castor3d::SubmeshComponent const & component)
inlineoverridevirtual
Returns
The render shader's data.

Implements castor3d::SubmeshRenderShader.

◆ getShaderSource()

void castor3d::DefaultRenderComponent::RenderShader::getShaderSource ( Engine const & engine,
PipelineFlags const & flags,
ComponentModeFlags const & componentsMask,
ast::ShaderBuilder & builder ) const
overridevirtual

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.

Implements castor3d::SubmeshRenderShader.


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