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

#include <ShaderTypes.h>

Public Member Functions

bool IsExternal () const
 
int32 GetNumComponents () const
 
const FStructFieldFindFieldByName (const TCHAR *InName) const
 

Public Attributes

uint64 Hash
 
const TCHARName
 
const FStructTypeDerivativeType = nullptr
 
TArrayView< const FStructFieldFields
 
TArrayView< const EValueComponentTypeComponentTypes
 
TArrayView< const EValueTypeFlatFieldTypes
 

Member Function Documentation

◆ FindFieldByName()

const FStructField * UE::Shader::FStructType::FindFieldByName ( const TCHAR InName) const

◆ GetNumComponents()

int32 UE::Shader::FStructType::GetNumComponents ( ) const
inline

◆ IsExternal()

bool UE::Shader::FStructType::IsExternal ( ) const
inline

Member Data Documentation

◆ ComponentTypes

TArrayView<const EValueComponentType> UE::Shader::FStructType::ComponentTypes

Fields with basic types are represented directly. Fields with struct types are recursively flattened into this list

◆ DerivativeType

const FStructType* UE::Shader::FStructType::DerivativeType = nullptr

◆ Fields

TArrayView<const FStructField> UE::Shader::FStructType::Fields

◆ FlatFieldTypes

TArrayView<const EValueType> UE::Shader::FStructType::FlatFieldTypes

Type may be viewed as a flat list of fields, rather than of individual components

◆ Hash

uint64 UE::Shader::FStructType::Hash

◆ Name

const TCHAR* UE::Shader::FStructType::Name

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