UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ShaderValue.cpp File Reference

Classes

struct  UE::Shader::Private::FCastFloat
 
struct  UE::Shader::Private::FCastDouble
 
struct  UE::Shader::Private::FCastInt
 
struct  UE::Shader::Private::FCastBool
 
struct  UE::Shader::Private::FOpBase
 
struct  UE::Shader::Private::FOpBaseNoInt
 
struct  UE::Shader::Private::FOpNeg
 
struct  UE::Shader::Private::FOpAbs
 
struct  UE::Shader::Private::FOpSign
 
struct  UE::Shader::Private::FOpSaturate
 
struct  UE::Shader::Private::FOpFloor
 
struct  UE::Shader::Private::FOpCeil
 
struct  UE::Shader::Private::FOpRound
 
struct  UE::Shader::Private::FOpTrunc
 
struct  UE::Shader::Private::FOpFrac
 
struct  UE::Shader::Private::FOpFractional
 
struct  UE::Shader::Private::FOpSqrt
 
struct  UE::Shader::Private::FOpRcp
 
struct  UE::Shader::Private::FOpExp
 
struct  UE::Shader::Private::FOpExp2
 
struct  UE::Shader::Private::FOpLog
 
struct  UE::Shader::Private::FOpLog2
 
struct  UE::Shader::Private::FOpLog10
 
struct  UE::Shader::Private::FOpSin
 
struct  UE::Shader::Private::FOpCos
 
struct  UE::Shader::Private::FOpTan
 
struct  UE::Shader::Private::FOpAsin
 
struct  UE::Shader::Private::FOpAcos
 
struct  UE::Shader::Private::FOpAtan
 
struct  UE::Shader::Private::FOpAdd
 
struct  UE::Shader::Private::FOpSub
 
struct  UE::Shader::Private::FOpMul
 
struct  UE::Shader::Private::FOpDiv
 
struct  UE::Shader::Private::FOpMin
 
struct  UE::Shader::Private::FOpMax
 
struct  UE::Shader::Private::FOpFmod
 
struct  UE::Shader::Private::FOpModulo
 
struct  UE::Shader::Private::FOpAtan2
 
struct  UE::Shader::Private::FOpLess
 
struct  UE::Shader::Private::FOpGreater
 
struct  UE::Shader::Private::FOpLessEqual
 
struct  UE::Shader::Private::FOpGreaterEqual
 

Namespaces

namespace  UE
 
namespace  UE::Shader
 
namespace  UE::Shader::Private
 

Functions

const FValueTypeDescriptionUE::Shader::GetValueTypeDescription (EValueType Type)
 
FType UE::Shader::CombineTypes (const FType &Lhs, const FType &Rhs, bool bMergeMatrixTypes)
 
template<typename Operation , typename ResultType >
void UE::Shader::Private::AsType (const Operation &Op, const FValue &Value, ResultType &OutResult)
 
template<typename Operation , typename ResultType >
void UE::Shader::Private::AsTypeInPlace (const Operation &Op, EValueType Type, TArrayView< FValueComponent > Component, ResultType &OutResult)
 
template<typename Operation >
void UE::Shader::Private::Cast (const Operation &Op, const FValue &Value, FValue &OutResult)
 
void UE::Shader::Private::FormatComponent_Double (double Value, int32 NumComponents, EValueStringFormat Format, FStringBuilderBase &OutResult)
 
FValueComponentTypeDescription UE::Shader::GetValueComponentTypeDescription (EValueComponentType Type)
 
EValueComponentType UE::Shader::CombineComponentTypes (EValueComponentType Lhs, EValueComponentType Rhs)
 
EValueType UE::Shader::FindValueType (FName Name)
 
EValueType UE::Shader::MakeValueType (EValueComponentType ComponentType, int32 NumComponents)
 
EValueType UE::Shader::MakeValueType (EValueType BaseType, int32 NumComponents)
 
EValueType UE::Shader::MakeValueTypeWithRequestedNumComponents (EValueType BaseType, int8 RequestedNumComponents)
 
EValueType UE::Shader::MakeNonLWCType (EValueType Type)
 
EValueType UE::Shader::MakeConcreteType (EValueType Type)
 
EValueType UE::Shader::MakeDerivativeType (EValueType Type)
 
void UE::Shader::Private::SetFieldType (EValueType *FieldTypes, EValueComponentType *ComponentTypes, int32 FieldIndex, int32 ComponentIndex, const FType &Type)
 
template<typename T >
FORCENOINLINEUE::Shader::Private::GetSafeDivisor (T Number)
 
template<>
FORCENOINLINE int32 UE::Shader::Private::GetSafeDivisor< int32 > (int32 Number)
 
template<typename Operation >
FValue UE::Shader::Private::UnaryOp (const Operation &Op, const FValue &Value)
 
template<typename Operation >
EValueType UE::Shader::Private::UnaryOpInPlace (const Operation &Op, EValueType Type, TArrayView< FValueComponent > &Component)
 
int8 UE::Shader::Private::GetNumComponentsResult (int8 Lhs, int8 Rhs)
 
template<typename Operation >
FValue UE::Shader::Private::BinaryOp (const Operation &Op, const FValue &Lhs, const FValue &Rhs)
 
template<typename Operation >
EValueType UE::Shader::Private::BinaryOpInPlace (const Operation &Op, EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > &Component, int32 &OutComponentsConsumed)
 
template<typename Operation >
FValue UE::Shader::Private::CompareOp (const Operation &Op, const FValue &Lhs, const FValue &Rhs)
 
bool UE::Shader::operator== (const FValue &Lhs, const FValue &Rhs)
 
uint32 UE::Shader::GetTypeHash (const FType &Type)
 
uint32 UE::Shader::GetTypeHash (const FValue &Value)
 
FValue UE::Shader::Neg (const FValue &Value)
 
FValue UE::Shader::Abs (const FValue &Value)
 
FValue UE::Shader::Saturate (const FValue &Value)
 
FValue UE::Shader::Floor (const FValue &Value)
 
FValue UE::Shader::Ceil (const FValue &Value)
 
FValue UE::Shader::Round (const FValue &Value)
 
FValue UE::Shader::Trunc (const FValue &Value)
 
FValue UE::Shader::Sign (const FValue &Value)
 
FValue UE::Shader::Frac (const FValue &Value)
 
FValue UE::Shader::Fractional (const FValue &Value)
 
FValue UE::Shader::Sqrt (const FValue &Value)
 
FValue UE::Shader::Rcp (const FValue &Value)
 
FValue UE::Shader::Exp (const FValue &Value)
 
FValue UE::Shader::Exp2 (const FValue &Value)
 
FValue UE::Shader::Log (const FValue &Value)
 
FValue UE::Shader::Log2 (const FValue &Value)
 
FValue UE::Shader::Log10 (const FValue &Value)
 
FValue UE::Shader::Sin (const FValue &Value)
 
FValue UE::Shader::Cos (const FValue &Value)
 
FValue UE::Shader::Tan (const FValue &Value)
 
FValue UE::Shader::Asin (const FValue &Value)
 
FValue UE::Shader::Acos (const FValue &Value)
 
FValue UE::Shader::Atan (const FValue &Value)
 
FValue UE::Shader::Add (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Sub (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Mul (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Div (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Less (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Greater (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::LessEqual (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::GreaterEqual (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Min (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Max (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Fmod (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Modulo (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Atan2 (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Clamp (const FValue &Value, const FValue &Low, const FValue &High)
 
FValue UE::Shader::Dot (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Cross (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Append (const FValue &Lhs, const FValue &Rhs)
 
FValue UE::Shader::Cast (const FValue &Value, EValueType Type)
 
EValueType UE::Shader::NegInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::AbsInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::SaturateInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::FloorInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::CeilInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::RoundInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::TruncInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::SignInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::FracInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::FractionalInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::SqrtInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::RcpInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::ExpInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::Exp2InPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::LogInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::Log2InPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::Log10InPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::SinInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::CosInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::TanInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::AsinInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::AcosInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::AtanInPlace (EValueType Type, TArrayView< FValueComponent > Component)
 
EValueType UE::Shader::AddInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::SubInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::MulInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::DivInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::MinInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::MaxInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::FmodInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::ModuloInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::Atan2InPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 
EValueType UE::Shader::AppendInPlace (EValueType LhsType, EValueType RhsType, TArrayView< FValueComponent > Component, int32 &OutComponentsConsumed)
 

Variables

const FValueTypeDescription UE::Shader::GValueTypeDescriptions []