Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
castor3d::shader::OverlaySurfaceT< FlagT > Struct Template Reference

#include <GlslOverlaySurface.hpp>

Inheritance diagram for castor3d::shader::OverlaySurfaceT< FlagT >:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::OverlaySurfaceT< FlagT >:
Collaboration graph
[legend]

Public Member Functions

 OverlaySurfaceT (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
 OverlaySurfaceT (sdw::Vec2 const pos, sdw::Vec2 const uv)
 
 OverlaySurfaceT (sdw::Vec2 const pos, sdw::Vec2 const uv, sdw::Vec2 const text)
 
 SDW_DeclStructInstance (, OverlaySurfaceT)
 
void set (sdw::Vec2 const &pos, sdw::Vec2 const &uv)
 
void set (sdw::Vec2 const &pos, sdw::Vec2 const &uv, sdw::Vec2 const &text)
 

Static Public Member Functions

static ast::expr::ExprPtr makeInitExpr (sdw::Vec2 const pos, sdw::Vec2 const uv)
 
static ast::expr::ExprPtr makeInitExpr (sdw::Vec2 const pos, sdw::Vec2 const uv, sdw::Vec2 const text)
 
static ast::type::BaseStructPtr makeType (ast::type::TypesCache &cache, bool isTextOverlay, bool hasTextures)
 
static ast::type::IOStructPtr makeIOType (ast::type::TypesCache &cache, sdw::EntryPoint entryPoint, bool hasPosition, bool isTextOverlay, bool hasTextures, bool isTransition)
 

Public Attributes

sdw::Vec2 position
 
sdw::Vec2 texUV
 
sdw::Vec2 fontUV
 
sdw::UInt materialId
 

Constructor & Destructor Documentation

◆ OverlaySurfaceT() [1/3]

template<ast::var::Flag FlagT>
castor3d::shader::OverlaySurfaceT< FlagT >::OverlaySurfaceT ( sdw::ShaderWriter & writer,
sdw::expr::ExprPtr expr,
bool enabled )
inline

◆ OverlaySurfaceT() [2/3]

template<ast::var::Flag FlagT>
castor3d::shader::OverlaySurfaceT< FlagT >::OverlaySurfaceT ( sdw::Vec2 const pos,
sdw::Vec2 const uv )
inline

◆ OverlaySurfaceT() [3/3]

template<ast::var::Flag FlagT>
castor3d::shader::OverlaySurfaceT< FlagT >::OverlaySurfaceT ( sdw::Vec2 const pos,
sdw::Vec2 const uv,
sdw::Vec2 const text )
inline

Member Function Documentation

◆ makeInitExpr() [1/2]

template<ast::var::Flag FlagT>
static ast::expr::ExprPtr castor3d::shader::OverlaySurfaceT< FlagT >::makeInitExpr ( sdw::Vec2 const pos,
sdw::Vec2 const uv )
inlinestatic

References castor3d::shader::OverlaySurfaceT< FlagT >::makeType().

Here is the call graph for this function:

◆ makeInitExpr() [2/2]

template<ast::var::Flag FlagT>
static ast::expr::ExprPtr castor3d::shader::OverlaySurfaceT< FlagT >::makeInitExpr ( sdw::Vec2 const pos,
sdw::Vec2 const uv,
sdw::Vec2 const text )
inlinestatic

References castor3d::shader::OverlaySurfaceT< FlagT >::makeType().

Here is the call graph for this function:

◆ makeIOType()

template<ast::var::Flag FlagT>
static ast::type::IOStructPtr castor3d::shader::OverlaySurfaceT< FlagT >::makeIOType ( ast::type::TypesCache & cache,
sdw::EntryPoint entryPoint,
bool hasPosition,
bool isTextOverlay,
bool hasTextures,
bool isTransition )
inlinestatic

◆ makeType()

template<ast::var::Flag FlagT>
static ast::type::BaseStructPtr castor3d::shader::OverlaySurfaceT< FlagT >::makeType ( ast::type::TypesCache & cache,
bool isTextOverlay,
bool hasTextures )
inlinestatic

◆ SDW_DeclStructInstance()

template<ast::var::Flag FlagT>
castor3d::shader::OverlaySurfaceT< FlagT >::SDW_DeclStructInstance ( OverlaySurfaceT< FlagT > )

◆ set() [1/2]

template<ast::var::Flag FlagT>
void castor3d::shader::OverlaySurfaceT< FlagT >::set ( sdw::Vec2 const & pos,
sdw::Vec2 const & uv )
inline

◆ set() [2/2]

template<ast::var::Flag FlagT>
void castor3d::shader::OverlaySurfaceT< FlagT >::set ( sdw::Vec2 const & pos,
sdw::Vec2 const & uv,
sdw::Vec2 const & text )
inline

Member Data Documentation

◆ fontUV

template<ast::var::Flag FlagT>
sdw::Vec2 castor3d::shader::OverlaySurfaceT< FlagT >::fontUV

◆ materialId

template<ast::var::Flag FlagT>
sdw::UInt castor3d::shader::OverlaySurfaceT< FlagT >::materialId

◆ position

template<ast::var::Flag FlagT>
sdw::Vec2 castor3d::shader::OverlaySurfaceT< FlagT >::position

◆ texUV

template<ast::var::Flag FlagT>
sdw::Vec2 castor3d::shader::OverlaySurfaceT< FlagT >::texUV

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