Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Member Functions | List of all members
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT > Struct Template Reference

#include <GlslSurface.hpp>

Inheritance diagram for castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >:
Collaboration graph
[legend]

Public Member Functions

 SurfaceT (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
 SurfaceT (sdw::Vec3 clip, Position4T view, Position4T world, NormalT normal, sdw::Vec3 texCoord)
 
 SurfaceT (sdw::Vec3 clip, Position3T view, Position3T world, NormalT normal, sdw::Vec3 texCoord)
 
 SurfaceT (sdw::Vec3 clip, Position4T view, Position4T world, NormalT normal)
 
 SurfaceT (sdw::Vec3 clip, Position3T view, Position3T world, NormalT normal)
 
 SurfaceT (NormalT world, NormalT normal)
 
 SDW_DeclStructInstance (, SurfaceT)
 
- Public Member Functions inherited from castor3d::shader::SurfaceBaseT< Position3T, Position4T, NormalT >
 SurfaceBaseT (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 

Static Public Member Functions

static sdw::type::BaseStructPtr makeType (sdw::type::TypesCache &cache)
 
static sdw::type::BaseStructPtr makeType (sdw::type::TypesCache &cache, PipelineFlags const &flags)
 

Public Attributes

sdw::Vec3 texCoord
 
- Public Attributes inherited from castor3d::shader::SurfaceBaseT< Position3T, Position4T, NormalT >
sdw::Vec3 clipPosition
 
Position4T viewPosition
 
Position4T worldPosition
 
NormalT normal
 

Static Protected Member Functions

static void fillType (sdw::type::BaseStruct &type)
 
static void fillType (sdw::type::BaseStruct &type, PipelineFlags const &flags)
 
static void fillInit (sdw::expr::ExprList &init, sdw::Vec3 clip, Position4T view, Position4T world, NormalT normal, sdw::Vec3 texCoord)
 
static void fillInit (sdw::expr::ExprList &init, PipelineFlags const &flags, sdw::Vec3 clip, Position4T view, Position4T world, NormalT normal, sdw::Vec3 texCoord)
 
- Static Protected Member Functions inherited from castor3d::shader::SurfaceBaseT< Position3T, Position4T, NormalT >
static void fillType (sdw::type::BaseStruct &type)
 
static void fillIOType (sdw::type::IOStruct &type, PipelineFlags const &flags, uint32_t &index)
 
static void fillType (sdw::type::BaseStruct &type, PipelineFlags const &flags)
 
static void fillInit (sdw::expr::ExprList &init, sdw::Vec3 clip, Position4T view, Position4T world, NormalT normal)
 
static void fillInit (sdw::expr::ExprList &init, PipelineFlags const &flags, sdw::Vec3 clip, Position4T view, Position4T world, NormalT normal)
 
static Position3T makePosition3 (sdw::Vec3 const &in)
 
static Position3T makePosition3 (sdw::Vec3 const &in)
 
static Position3T makePosition3 (sdw::Float const &in)
 
static Position4T makePosition4 (sdw::Vec4 const &in)
 
static Position4T makePosition4 (sdw::Vec4 const &in)
 
static Position4T makePosition4 (sdw::Vec3 const &rgb, sdw::Float const &a)
 
static Position4T makePosition4 (DerivVec3 const &rgb, DerivFloat const &a)
 
static Position4T makePosition4 (sdw::Vec3 const &in)
 
static Position4T makePosition4 (DerivVec3 const &in)
 
static Position4T makePosition4 (sdw::Float const &in)
 
static NormalT makeNormal (sdw::Vec3 const &in)
 
static NormalT makeNormal (sdw::Vec3 const &in)
 
static NormalT makeNormal (sdw::Float const &in)
 

Constructor & Destructor Documentation

◆ SurfaceT() [1/6]

template<typename Position3T , typename Position4T , typename NormalT >
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::SurfaceT ( sdw::ShaderWriter & writer,
sdw::expr::ExprPtr expr,
bool enabled )

◆ SurfaceT() [2/6]

template<typename Position3T , typename Position4T , typename NormalT >
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::SurfaceT ( sdw::Vec3 clip,
Position4T view,
Position4T world,
NormalT normal,
sdw::Vec3 texCoord )

◆ SurfaceT() [3/6]

template<typename Position3T , typename Position4T , typename NormalT >
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::SurfaceT ( sdw::Vec3 clip,
Position3T view,
Position3T world,
NormalT normal,
sdw::Vec3 texCoord )

◆ SurfaceT() [4/6]

template<typename Position3T , typename Position4T , typename NormalT >
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::SurfaceT ( sdw::Vec3 clip,
Position4T view,
Position4T world,
NormalT normal )

◆ SurfaceT() [5/6]

template<typename Position3T , typename Position4T , typename NormalT >
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::SurfaceT ( sdw::Vec3 clip,
Position3T view,
Position3T world,
NormalT normal )

◆ SurfaceT() [6/6]

template<typename Position3T , typename Position4T , typename NormalT >
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::SurfaceT ( NormalT world,
NormalT normal )

Member Function Documentation

◆ fillInit() [1/2]

template<typename Position3T , typename Position4T , typename NormalT >
static void castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::fillInit ( sdw::expr::ExprList & init,
PipelineFlags const & flags,
sdw::Vec3 clip,
Position4T view,
Position4T world,
NormalT normal,
sdw::Vec3 texCoord )
staticprotected

◆ fillInit() [2/2]

template<typename Position3T , typename Position4T , typename NormalT >
static void castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::fillInit ( sdw::expr::ExprList & init,
sdw::Vec3 clip,
Position4T view,
Position4T world,
NormalT normal,
sdw::Vec3 texCoord )
staticprotected

◆ fillType() [1/2]

template<typename Position3T , typename Position4T , typename NormalT >
static void castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::fillType ( sdw::type::BaseStruct & type)
staticprotected

◆ fillType() [2/2]

template<typename Position3T , typename Position4T , typename NormalT >
static void castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::fillType ( sdw::type::BaseStruct & type,
PipelineFlags const & flags )
staticprotected

◆ makeType() [1/2]

template<typename Position3T , typename Position4T , typename NormalT >
static sdw::type::BaseStructPtr castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::makeType ( sdw::type::TypesCache & cache)
static

◆ makeType() [2/2]

template<typename Position3T , typename Position4T , typename NormalT >
static sdw::type::BaseStructPtr castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::makeType ( sdw::type::TypesCache & cache,
PipelineFlags const & flags )
static

◆ SDW_DeclStructInstance()

template<typename Position3T , typename Position4T , typename NormalT >
castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::SDW_DeclStructInstance ( SurfaceT< Position3T, Position4T, NormalT > )

Member Data Documentation

◆ texCoord

template<typename Position3T , typename Position4T , typename NormalT >
sdw::Vec3 castor3d::shader::SurfaceT< Position3T, Position4T, NormalT >::texCoord

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