Castor3D 0.12.0
Multiplatform 3D engine
Static Public Member Functions | List of all members
castor3d::LightPass Class Reference

#include <LightPass.hpp>

Static Public Member Functions

static ShaderPtr getVertexShaderSource (LightType lightType)
 Retrieves the vertex shader source for a light type. More...
 
static ShaderPtr getPixelShaderSource (PassTypeID passType, RenderSystem const &renderSystem, SceneFlags const &sceneFlags, LightType lightType, ShadowType shadowType, bool shadows)
 Retrieves the pixel shader source for a light type. More...
 

Member Function Documentation

◆ getPixelShaderSource()

static ShaderPtr castor3d::LightPass::getPixelShaderSource ( PassTypeID  passType,
RenderSystem const &  renderSystem,
SceneFlags const &  sceneFlags,
LightType  lightType,
ShadowType  shadowType,
bool  shadows 
)
static

Retrieves the pixel shader source for a light type.

Parameters
[in]passTypeThe material pass type ID.
[in]renderSystemThe render system.
[in]sceneFlagsThe scene flags.
[in]lightTypeThe light source type.
[in]shadowTypeThe shadow type.
[in]shadowsTells if shadows are used.
Returns
The source.

◆ getVertexShaderSource()

static ShaderPtr castor3d::LightPass::getVertexShaderSource ( LightType  lightType)
static

Retrieves the vertex shader source for a light type.

Parameters
[in]lightTypeThe light type.
Returns
The source.

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