Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT > Struct Template Reference

#include <GlslSurface.hpp>

Inheritance diagram for castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >:
Collaboration graph
[legend]

Public Member Functions

 RasterizerSurfaceT (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
 RasterizerSurfaceT (sdw::Vec3 clip, Position3T view, Position3T world, Normal3T normal, TexcoordT texCoord)
 
template<sdw::var::Flag FlagU>
 RasterizerSurfaceT (RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagU > const &rhs)
 
 SDW_DeclStructInstance (, RasterizerSurfaceT)
 
- Public Member Functions inherited from castor3d::shader::RasterizerSurfaceBaseT< Position3T, Position4T, Normal3T, Normal4T >
 RasterizerSurfaceBaseT (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
void computeVelocity (CameraData const &cameraData, Position4T &curPos, Position4T &prvPos)
 
void computeTangentSpace (PipelineFlags const &flags, sdw::Vec3 const &cameraPosition, Position3T const &worldPos, Normal3T const &nml, Normal4T const &tan)
 
void computeTangentSpace (PipelineFlags const &flags, sdw::Vec3 const &cameraPosition, Position3T const &worldPos, sdw::Mat3 const &mtx, Normal3T const &nml, Normal4T const &tan)
 
void computeTangentSpace (PipelineFlags const &flags, sdw::Vec3 const &cameraPosition, Position3T const &worldPos, sdw::Mat3 const &mtx, Normal3T const &nml, Normal4T const &tan, Normal3T const &bin)
 
void computeTangentSpace (PipelineFlags const &flags, sdw::Vec3 const &cameraPosition, Position3T const &worldPos, Normal3T const &nml, Normal4T const &tan, Normal3T const &bin)
 
sdw::Vec2 getVelocity () const
 
- Public Member Functions inherited from castor3d::shader::SurfaceBaseT< Position3T, Position4T, Normal3T >
 SurfaceBaseT (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 

Static Public Member Functions

static sdw::type::IOStructPtr makeIOType (sdw::type::TypesCache &cache, sdw::EntryPoint entryPoint, SubmeshShaders const &submeshShaders, PassShaders const &passShaders, PipelineFlags const &flags)
 
static sdw::type::BaseStructPtr makeType (sdw::type::TypesCache &cache, SubmeshShaders const &submeshShaders, PassShaders const &passShaders, PipelineFlags const &flags)
 
static sdw::type::BaseStructPtr makeType (sdw::type::TypesCache &cache, SubmeshShaders const &submeshShaders)
 

Public Attributes

TexcoordT texture0
 
TexcoordT texture1
 
TexcoordT texture2
 
TexcoordT texture3
 
- Public Attributes inherited from castor3d::shader::RasterizerSurfaceBaseT< Position3T, Position4T, Normal3T, Normal4T >
Position4T curPosition
 
Position4T prvPosition
 
Position3T tangentSpaceFragPosition
 
sdw::Vec3 tangentSpaceViewPosition
 
Normal4T tangent
 
Normal3T bitangent
 
sdw::Vec3 colour
 
sdw::Array< sdw::Vec4 > passMultipliers
 
sdw::UInt nodeId
 
sdw::UInt vertexId
 
sdw::UInt meshletId
 
- Public Attributes inherited from castor3d::shader::SurfaceBaseT< Position3T, Position4T, Normal3T >
sdw::Vec3 clipPosition
 
Position4T viewPosition
 
Position4T worldPosition
 
Normal3T normal
 

Additional Inherited Members

- Static Protected Member Functions inherited from castor3d::shader::RasterizerSurfaceBaseT< Position3T, Position4T, Normal3T, Normal4T >
static void fillIOType (sdw::type::IOStruct &type, SubmeshShaders const &submeshShaders, PassShaders const &passShaders, PipelineFlags const &flags, uint32_t &index)
 
static void fillType (sdw::type::BaseStruct &type, SubmeshShaders const &submeshShaders, PassShaders const &passShaders, PipelineFlags const &flags)
 
static void fillType (sdw::type::BaseStruct &type, SubmeshShaders const &submeshShaders)
 
- Static Protected Member Functions inherited from castor3d::shader::SurfaceBaseT< Position3T, Position4T, Normal3T >
static void fillType (sdw::type::BaseStruct &type)
 
static void fillType (sdw::type::BaseStruct &type, PipelineFlags const &flags)
 
static void fillIOType (sdw::type::IOStruct &type, PipelineFlags const &flags, uint32_t &index)
 
static void fillInit (sdw::expr::ExprList &init, sdw::Vec3 clip, Position4T view, Position4T world, Normal3T normal)
 
static void fillInit (sdw::expr::ExprList &init, PipelineFlags const &flags, sdw::Vec3 clip, Position4T view, Position4T world, Normal3T 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 Normal3T makeNormal (sdw::Vec3 const &in)
 
static Normal3T makeNormal (sdw::Vec3 const &in)
 
static Normal3T makeNormal (sdw::Float const &in)
 

Constructor & Destructor Documentation

◆ RasterizerSurfaceT() [1/3]

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::RasterizerSurfaceT ( sdw::ShaderWriter & writer,
sdw::expr::ExprPtr expr,
bool enabled )

◆ RasterizerSurfaceT() [2/3]

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::RasterizerSurfaceT ( sdw::Vec3 clip,
Position3T view,
Position3T world,
Normal3T normal,
TexcoordT texCoord )

◆ RasterizerSurfaceT() [3/3]

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
template<sdw::var::Flag FlagU>
castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::RasterizerSurfaceT ( RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagU > const & rhs)
explicit

Member Function Documentation

◆ makeIOType()

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
static sdw::type::IOStructPtr castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::makeIOType ( sdw::type::TypesCache & cache,
sdw::EntryPoint entryPoint,
SubmeshShaders const & submeshShaders,
PassShaders const & passShaders,
PipelineFlags const & flags )
static

◆ makeType() [1/2]

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
static sdw::type::BaseStructPtr castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::makeType ( sdw::type::TypesCache & cache,
SubmeshShaders const & submeshShaders )
static

◆ makeType() [2/2]

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
static sdw::type::BaseStructPtr castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::makeType ( sdw::type::TypesCache & cache,
SubmeshShaders const & submeshShaders,
PassShaders const & passShaders,
PipelineFlags const & flags )
static

◆ SDW_DeclStructInstance()

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::SDW_DeclStructInstance ( RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT > )

Member Data Documentation

◆ texture0

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
TexcoordT castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::texture0

◆ texture1

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
TexcoordT castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::texture1

◆ texture2

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
TexcoordT castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::texture2

◆ texture3

template<typename Position3T , typename Position4T , typename Normal3T , typename Normal4T , typename TexcoordT , sdw::var::Flag FlagT>
TexcoordT castor3d::shader::RasterizerSurfaceT< Position3T, Position4T, Normal3T, Normal4T, TexcoordT, FlagT >::texture3

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