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

#include <PreshaderTypes.h>

Public Member Functions

FValue AsShaderValue (const FStructTypeRegistry *TypeRegistry=nullptr) const
 

Public Attributes

FPreshaderType Type
 
TArrayView< FValueComponentComponent
 

Detailed Description

Mirrors Shader::FValue, except 'Component' array references memory owned by stack, rather than inline storage

Member Function Documentation

◆ AsShaderValue()

FValue UE::Shader::FPreshaderValue::AsShaderValue ( const FStructTypeRegistry TypeRegistry = nullptr) const

Converts to a regular 'FValue', uses the type registry to resolve StructType hashes into pointers

Member Data Documentation

◆ Component

TArrayView<FValueComponent> UE::Shader::FPreshaderValue::Component

◆ Type

FPreshaderType UE::Shader::FPreshaderValue::Type

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