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

#include <OverlayUbo.hpp>

Inheritance diagram for castor3d::shader::OverlayData:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::OverlayData:
Collaboration graph
[legend]

Public Member Functions

 OverlayData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
auto vertexOffset () const
 
auto materialId () const
 
auto parentRect () const
 
auto scissorRect () const
 
auto relativeSize () const
 
auto relativePosition () const
 
auto uv () const
 
auto border () const
 
auto borderInnerUV () const
 
auto borderOuterUV () const
 
auto borderPosition () const
 
auto textWordOffset () const
 
auto textLineOffset () const
 
auto textTopOffset () const
 
auto textTexturingMode () const
 
C3D_API void cropMinValue (sdw::Float const &ssRelPosition, sdw::Float const &ssAbsParentSize, sdw::Float const &ssAbsBoundSize, sdw::Vec2 const &ssCropRange, sdw::Vec2 const &uvRange, sdw::Float ssRelBound, sdw::Float uv)
 Crops a minimum boundary and its UV.
 
C3D_API void cropMaxValue (sdw::Float const &ssRelPosition, sdw::Float const &ssAbsParentSize, sdw::Float const &ssAbsBoundSize, sdw::Vec2 const &ssCropRange, sdw::Vec2 const &uvRange, sdw::Float ssRelBound, sdw::Float uv)
 Crops a maximum boundary and its UV.
 
C3D_API void cropMinMinValue (sdw::Float const &ssRelPosition, sdw::Float const &ssAbsParentSize, sdw::Float const &ssAbsBoundSize, sdw::Float const &ssAbsCharSize, sdw::Vec2 const &ssCropRange, sdw::Vec2 const &texUvRange, sdw::Vec2 const &fontUvRange, sdw::Float ssRelBound, sdw::Float texUv, sdw::Float fontUv)
 Crops a minimum boundary and its UVs.
 
C3D_API void cropMinMaxValue (sdw::Float const &ssRelPosition, sdw::Float const &ssAbsParentSize, sdw::Float const &ssAbsBoundSize, sdw::Float const &ssAbsCharSize, sdw::Vec2 const &ssCropRange, sdw::Vec2 const &texUvRange, sdw::Vec2 const &fontUvRange, sdw::Float ssRelBound, sdw::Float texUv, sdw::Float fontUv)
 Crops a maximum boundary and its UVs.
 
C3D_API void cropMaxMinValue (sdw::Float const &ssRelPosition, sdw::Float const &ssAbsParentSize, sdw::Float const &ssAbsBoundSize, sdw::Float const &ssAbsCharSize, sdw::Vec2 const &ssCropRange, sdw::Vec2 const &texUvRange, sdw::Vec2 const &fontUvRange, sdw::Float ssRelBound, sdw::Float texUv, sdw::Float fontUv)
 Crops a minimum boundary and its UVs.
 
C3D_API void cropMaxMaxValue (sdw::Float const &ssRelPosition, sdw::Float const &ssAbsParentSize, sdw::Float const &ssAbsBoundSize, sdw::Float const &ssAbsCharSize, sdw::Vec2 const &ssCropRange, sdw::Vec2 const &texUvRange, sdw::Vec2 const &fontUvRange, sdw::Float ssRelBound, sdw::Float texUv, sdw::Float fontUv)
 Crops a maximum boundary and its UVs.
 

Constructor & Destructor Documentation

◆ OverlayData()

castor3d::shader::OverlayData::OverlayData ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )
inline

Member Function Documentation

◆ border()

auto castor3d::shader::OverlayData::border ( ) const
inline

◆ borderInnerUV()

auto castor3d::shader::OverlayData::borderInnerUV ( ) const
inline

◆ borderOuterUV()

auto castor3d::shader::OverlayData::borderOuterUV ( ) const
inline

◆ borderPosition()

auto castor3d::shader::OverlayData::borderPosition ( ) const
inline

◆ cropMaxMaxValue()

C3D_API void castor3d::shader::OverlayData::cropMaxMaxValue ( sdw::Float const & ssRelPosition,
sdw::Float const & ssAbsParentSize,
sdw::Float const & ssAbsBoundSize,
sdw::Float const & ssAbsCharSize,
sdw::Vec2 const & ssCropRange,
sdw::Vec2 const & texUvRange,
sdw::Vec2 const & fontUvRange,
sdw::Float ssRelBound,
sdw::Float texUv,
sdw::Float fontUv )

Crops a maximum boundary and its UVs.

◆ cropMaxMinValue()

C3D_API void castor3d::shader::OverlayData::cropMaxMinValue ( sdw::Float const & ssRelPosition,
sdw::Float const & ssAbsParentSize,
sdw::Float const & ssAbsBoundSize,
sdw::Float const & ssAbsCharSize,
sdw::Vec2 const & ssCropRange,
sdw::Vec2 const & texUvRange,
sdw::Vec2 const & fontUvRange,
sdw::Float ssRelBound,
sdw::Float texUv,
sdw::Float fontUv )

Crops a minimum boundary and its UVs.

◆ cropMaxValue()

C3D_API void castor3d::shader::OverlayData::cropMaxValue ( sdw::Float const & ssRelPosition,
sdw::Float const & ssAbsParentSize,
sdw::Float const & ssAbsBoundSize,
sdw::Vec2 const & ssCropRange,
sdw::Vec2 const & uvRange,
sdw::Float ssRelBound,
sdw::Float uv )

Crops a maximum boundary and its UV.

◆ cropMinMaxValue()

C3D_API void castor3d::shader::OverlayData::cropMinMaxValue ( sdw::Float const & ssRelPosition,
sdw::Float const & ssAbsParentSize,
sdw::Float const & ssAbsBoundSize,
sdw::Float const & ssAbsCharSize,
sdw::Vec2 const & ssCropRange,
sdw::Vec2 const & texUvRange,
sdw::Vec2 const & fontUvRange,
sdw::Float ssRelBound,
sdw::Float texUv,
sdw::Float fontUv )

Crops a maximum boundary and its UVs.

◆ cropMinMinValue()

C3D_API void castor3d::shader::OverlayData::cropMinMinValue ( sdw::Float const & ssRelPosition,
sdw::Float const & ssAbsParentSize,
sdw::Float const & ssAbsBoundSize,
sdw::Float const & ssAbsCharSize,
sdw::Vec2 const & ssCropRange,
sdw::Vec2 const & texUvRange,
sdw::Vec2 const & fontUvRange,
sdw::Float ssRelBound,
sdw::Float texUv,
sdw::Float fontUv )

Crops a minimum boundary and its UVs.

◆ cropMinValue()

C3D_API void castor3d::shader::OverlayData::cropMinValue ( sdw::Float const & ssRelPosition,
sdw::Float const & ssAbsParentSize,
sdw::Float const & ssAbsBoundSize,
sdw::Vec2 const & ssCropRange,
sdw::Vec2 const & uvRange,
sdw::Float ssRelBound,
sdw::Float uv )

Crops a minimum boundary and its UV.

◆ materialId()

auto castor3d::shader::OverlayData::materialId ( ) const
inline

◆ parentRect()

auto castor3d::shader::OverlayData::parentRect ( ) const
inline

◆ relativePosition()

auto castor3d::shader::OverlayData::relativePosition ( ) const
inline

◆ relativeSize()

auto castor3d::shader::OverlayData::relativeSize ( ) const
inline

◆ scissorRect()

auto castor3d::shader::OverlayData::scissorRect ( ) const
inline

◆ textLineOffset()

auto castor3d::shader::OverlayData::textLineOffset ( ) const
inline

◆ textTexturingMode()

auto castor3d::shader::OverlayData::textTexturingMode ( ) const
inline

◆ textTopOffset()

auto castor3d::shader::OverlayData::textTopOffset ( ) const
inline

◆ textWordOffset()

auto castor3d::shader::OverlayData::textWordOffset ( ) const
inline

◆ uv()

auto castor3d::shader::OverlayData::uv ( ) const
inline

◆ vertexOffset()

auto castor3d::shader::OverlayData::vertexOffset ( ) const
inline

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