Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Typedefs | Functions
GlslDerivativeValue.hpp File Reference

Classes

struct  castor3d::shader::DerivativeValueT< ValueT, StructNameT >
 
struct  sdw::TypeTraits< castor3d::shader::DerivativeValueT< ValueT, StructNameT > >
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 
namespace  sdw
 

Typedefs

template<typename ValueT , sdw::StringLiteralT StructNameT>
using castor3d::shader::DerivativeValueHelperT
 

Functions

C3D_API sdw::expr::ExprPtr castor3d::shader::makeRawExpr (DerivFloat const &value)
 
C3D_API RetDerivFloat castor3d::shader::dot (DerivVec3 const lhs, DerivVec3 const rhs)
 
C3D_API RetDerivVec3 castor3d::shader::cross (DerivVec3 const lhs, DerivVec3 const rhs)
 
C3D_API RetDerivVec3 castor3d::shader::normalize (DerivVec3 const v)
 
C3D_API RetDerivVec3 castor3d::shader::refract (DerivVec3 const i, DerivVec3 const n, sdw::Float const ior)
 
C3D_API RetDerivFloat castor3d::shader::clamp (DerivFloat const v, sdw::Float const min, sdw::Float const max)
 
C3D_API RetDerivFloat castor3d::shader::length (DerivVec3 const v)
 
C3D_API RetDerivFloat castor3d::shader::max (DerivFloat const lhs, DerivFloat const rhs)
 
C3D_API RetDerivVec3 castor3d::shader::mix (DerivVec3 const a, DerivVec3 const b, DerivVec3 const c)
 
C3D_API RetDerivFloat castor3d::shader::fma (DerivFloat const a, DerivFloat const b, DerivFloat const c)
 
C3D_API sdw::Float castor3d::shader::fwidth (DerivFloat const a)
 
C3D_API DerivFloat castor3d::shader::negate (DerivFloat const a)
 
C3D_API sdw::Float castor3d::shader::computeMip (DerivVec2 const &uv, sdw::Vec2 const &texSize)
 
C3D_API DerivFloat castor3d::shader::derivFloat (sdw::Float const v)
 
C3D_API DerivFloat castor3d::shader::derivX (DerivVec2 const v)
 
C3D_API DerivFloat castor3d::shader::derivY (DerivVec2 const v)
 
C3D_API DerivFloat castor3d::shader::derivZ (DerivVec3 const v)
 
C3D_API DerivFloat castor3d::shader::derivW (DerivVec4 const v)
 
C3D_API DerivVec2 castor3d::shader::derivVec2 (sdw::Float const v)
 
C3D_API DerivVec2 castor3d::shader::derivVec2 (sdw::Vec2 const v)
 
C3D_API DerivVec2 castor3d::shader::derivVec2 (DerivFloat const v)
 
C3D_API DerivVec2 castor3d::shader::derivVec2 (DerivFloat const v, sdw::Float const a)
 
C3D_API DerivVec3 castor3d::shader::derivVec3 (sdw::Float const v)
 
C3D_API DerivVec3 castor3d::shader::derivVec3 (sdw::Vec3 const v)
 
C3D_API DerivVec3 castor3d::shader::derivVec3 (DerivFloat const v)
 
C3D_API DerivVec4 castor3d::shader::derivVec4 (sdw::Float const v)
 
C3D_API DerivVec4 castor3d::shader::derivVec4 (sdw::Vec4 const v)
 
C3D_API DerivVec4 castor3d::shader::derivVec4 (DerivFloat const v)
 
C3D_API DerivVec4 castor3d::shader::derivVec4 (DerivVec3 const v, sdw::Float const a)
 
C3D_API DerivVec4 castor3d::shader::derivVec4 (DerivVec3 const v, DerivFloat const a)
 
C3D_API void castor3d::shader::negateXYZ (sdw::Vec4 in)
 
C3D_API void castor3d::shader::negateXYZ (DerivVec4 in)
 
C3D_API void castor3d::shader::mulXY (sdw::Vec4 in, sdw::Vec2 const mul)
 
C3D_API void castor3d::shader::mulXY (DerivVec4 in, sdw::Vec2 const mul)
 
C3D_API void castor3d::shader::addXYZ (sdw::Vec4 in, sdw::Vec3 const add)
 
C3D_API void castor3d::shader::addXYZ (DerivVec4 in, sdw::Vec3 const add)
 
C3D_API void castor3d::shader::addXYZ (DerivVec4 in, DerivVec3 const add)
 
C3D_API sdw::Vec3 castor3d::shader::getRaw (sdw::Vec3 const in)
 
C3D_API sdw::Vec3 castor3d::shader::getRaw (DerivVec3 const in)
 
C3D_API sdw::Vec4 castor3d::shader::getRaw (sdw::Vec4 const in)
 
C3D_API sdw::Vec3 castor3d::shader::getRawXYZ (sdw::Vec3 const in)
 
C3D_API sdw::Vec3 castor3d::shader::getRawXYZ (DerivVec3 const in)
 
C3D_API sdw::Vec3 castor3d::shader::getRawXYZ (sdw::Vec4 const in)
 
C3D_API sdw::Vec3 castor3d::shader::getXYZ (sdw::Vec4 const in)
 
C3D_API DerivVec3 castor3d::shader::getXYZ (DerivVec4 const in)
 
C3D_API sdw::Vec3 castor3d::shader::getXYW (sdw::Vec4 const in)
 
C3D_API DerivVec3 castor3d::shader::getXYW (DerivVec4 const in)
 
C3D_API sdw::Float castor3d::shader::getW (sdw::Vec4 const in)
 
C3D_API DerivFloat castor3d::shader::getW (DerivVec4 const in)
 
C3D_API DerivVec4 castor3d::shader::operator* (sdw::Mat4 const lhs, DerivVec4 const rhs)
 
C3D_API DerivVec3 castor3d::shader::operator* (sdw::Mat3 const lhs, DerivVec3 const rhs)
 
C3D_API DerivFloat castor3d::shader::operator+ (DerivFloat const lhs, DerivFloat const rhs)
 
C3D_API DerivFloat castor3d::shader::operator+ (DerivFloat const lhs, sdw::Float const rhs)
 
C3D_API DerivFloat castor3d::shader::operator* (DerivFloat const lhs, DerivFloat const rhs)
 
C3D_API DerivFloat castor3d::shader::operator* (DerivFloat const lhs, sdw::Float const rhs)
 
C3D_API DerivFloat castor3d::shader::operator- (DerivFloat const lhs, DerivFloat const rhs)
 
C3D_API DerivFloat castor3d::shader::operator- (DerivFloat const lhs, sdw::Float const rhs)
 
C3D_API DerivVec2 castor3d::shader::operator+ (DerivVec2 const lhs, sdw::Vec2 const rhs)
 
C3D_API DerivVec2 castor3d::shader::operator- (DerivVec2 const lhs, sdw::Vec2 const rhs)
 
C3D_API DerivVec2 castor3d::shader::operator* (DerivVec2 const lhs, sdw::Vec2 const rhs)
 
C3D_API DerivVec3 castor3d::shader::operator+ (DerivVec3 const lhs, sdw::Vec3 const rhs)
 
C3D_API DerivVec3 castor3d::shader::operator- (DerivVec3 const lhs, sdw::Vec3 const rhs)
 
C3D_API DerivVec3 castor3d::shader::operator* (DerivVec3 const lhs, sdw::Vec3 const rhs)
 
C3D_API DerivVec4 castor3d::shader::operator+ (DerivVec4 const lhs, sdw::Vec4 const rhs)
 
C3D_API DerivVec4 castor3d::shader::operator- (DerivVec4 const lhs, sdw::Vec4 const rhs)
 
C3D_API DerivVec4 castor3d::shader::operator* (DerivVec4 const lhs, sdw::Vec4 const rhs)