UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Shader::FValueComponent Union Reference

#include <ShaderTypes.h>

Public Member Functions

 FValueComponent ()
 
 FValueComponent (float InValue)
 
 FValueComponent (double InValue)
 
 FValueComponent (int32 InValue)
 
 FValueComponent (bool InValue)
 
bool AsBool () const
 
const TCHARToString (EValueComponentType Type, FStringBuilderBase &OutString) const
 

Public Attributes

uint64 Packed
 
double Double
 
float Float
 
int32 Int
 
uint8 Bool
 

Detailed Description

The value of a single component within FValue. The actual type of the component is only known by FValue::Type

Constructor & Destructor Documentation

◆ FValueComponent() [1/5]

UE::Shader::FValueComponent::FValueComponent ( )
inline

◆ FValueComponent() [2/5]

UE::Shader::FValueComponent::FValueComponent ( float  InValue)
inline

◆ FValueComponent() [3/5]

UE::Shader::FValueComponent::FValueComponent ( double  InValue)
inline

◆ FValueComponent() [4/5]

UE::Shader::FValueComponent::FValueComponent ( int32  InValue)
inline

◆ FValueComponent() [5/5]

UE::Shader::FValueComponent::FValueComponent ( bool  InValue)
inline

Member Function Documentation

◆ AsBool()

bool UE::Shader::FValueComponent::AsBool ( ) const
inline

◆ ToString()

const TCHAR * UE::Shader::FValueComponent::ToString ( EValueComponentType  Type,
FStringBuilderBase OutString 
) const

Member Data Documentation

◆ Bool

uint8 UE::Shader::FValueComponent::Bool

◆ Double

double UE::Shader::FValueComponent::Double

◆ Float

float UE::Shader::FValueComponent::Float

◆ Int

int32 UE::Shader::FValueComponent::Int

◆ Packed

uint64 UE::Shader::FValueComponent::Packed

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