Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::shader::DerivativeValueT< ValueT, StructNameT > Struct Template Reference

#include <GlslDerivativeValue.hpp>

Inheritance diagram for castor3d::shader::DerivativeValueT< ValueT, StructNameT >:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::DerivativeValueT< ValueT, StructNameT >:
Collaboration graph
[legend]

Public Member Functions

 DerivativeValueT (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
 DerivativeValueT (ValueT const &pvalue, ValueT const &pdPdx, ValueT const &pdPdy)
 
auto value () const
 
auto dPdx () const
 
auto dPdy () const
 
DerivativeValueT operator- () const
 
DerivativeValueToperator+= (DerivativeValueT const &rhs)
 
DerivativeValueToperator-= (DerivativeValueT const &rhs)
 
DerivativeValueToperator*= (DerivativeValueT const &rhs)
 
DerivativeValueToperator+= (ValueT const &rhs)
 
DerivativeValueToperator-= (ValueT const &rhs)
 
DerivativeValueToperator*= (ValueT const &rhs)
 

Constructor & Destructor Documentation

◆ DerivativeValueT() [1/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
castor3d::shader::DerivativeValueT< ValueT, StructNameT >::DerivativeValueT ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )
inline

◆ DerivativeValueT() [2/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
castor3d::shader::DerivativeValueT< ValueT, StructNameT >::DerivativeValueT ( ValueT const & pvalue,
ValueT const & pdPdx,
ValueT const & pdPdy )
inline

Member Function Documentation

◆ dPdx()

template<typename ValueT , sdw::StringLiteralT StructNameT>
auto castor3d::shader::DerivativeValueT< ValueT, StructNameT >::dPdx ( ) const
inline

◆ dPdy()

template<typename ValueT , sdw::StringLiteralT StructNameT>
auto castor3d::shader::DerivativeValueT< ValueT, StructNameT >::dPdy ( ) const
inline

◆ operator*=() [1/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
DerivativeValueT & castor3d::shader::DerivativeValueT< ValueT, StructNameT >::operator*= ( DerivativeValueT< ValueT, StructNameT > const & rhs)

◆ operator*=() [2/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
DerivativeValueT & castor3d::shader::DerivativeValueT< ValueT, StructNameT >::operator*= ( ValueT const & rhs)

◆ operator+=() [1/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
DerivativeValueT & castor3d::shader::DerivativeValueT< ValueT, StructNameT >::operator+= ( DerivativeValueT< ValueT, StructNameT > const & rhs)

◆ operator+=() [2/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
DerivativeValueT & castor3d::shader::DerivativeValueT< ValueT, StructNameT >::operator+= ( ValueT const & rhs)

◆ operator-()

template<typename ValueT , sdw::StringLiteralT StructNameT>
DerivativeValueT castor3d::shader::DerivativeValueT< ValueT, StructNameT >::operator- ( ) const

◆ operator-=() [1/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
DerivativeValueT & castor3d::shader::DerivativeValueT< ValueT, StructNameT >::operator-= ( DerivativeValueT< ValueT, StructNameT > const & rhs)

◆ operator-=() [2/2]

template<typename ValueT , sdw::StringLiteralT StructNameT>
DerivativeValueT & castor3d::shader::DerivativeValueT< ValueT, StructNameT >::operator-= ( ValueT const & rhs)

◆ value()

template<typename ValueT , sdw::StringLiteralT StructNameT>
auto castor3d::shader::DerivativeValueT< ValueT, StructNameT >::value ( ) const
inline

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