UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FShaderCodeReader Class Reference

#include <ShaderCore.h>

Public Member Functions

 FShaderCodeReader (TConstArrayView< uint8 > InShaderCode)
 
uint32 GetActualShaderCodeSize () const
 
TConstArrayView< uint8GetOffsetShaderCode (int32 Offset)
 
template<class T >
const T * FindOptionalData () const
 
const uint8FindOptionalData (EShaderOptionalDataKey InKey, uint8 ValueSize) const
 
const ANSICHARFindOptionalData (EShaderOptionalDataKey InKey) const
 
const uint8FindOptionalDataAndSize (EShaderOptionalDataKey InKey, int32 &OutSize) const
 
int32 GetOptionalDataSize () const
 
int32 GetShaderCodeSize () const
 

Constructor & Destructor Documentation

◆ FShaderCodeReader()

FShaderCodeReader::FShaderCodeReader ( TConstArrayView< uint8 InShaderCode)
inline

Member Function Documentation

◆ FindOptionalData() [1/3]

template<class T >
const T * FShaderCodeReader::FindOptionalData ( ) const
inline

◆ FindOptionalData() [2/3]

const ANSICHAR * FShaderCodeReader::FindOptionalData ( EShaderOptionalDataKey  InKey) const
inline

◆ FindOptionalData() [3/3]

const uint8 * FShaderCodeReader::FindOptionalData ( EShaderOptionalDataKey  InKey,
uint8  ValueSize 
) const
inline

◆ FindOptionalDataAndSize()

const uint8 * FShaderCodeReader::FindOptionalDataAndSize ( EShaderOptionalDataKey  InKey,
int32 OutSize 
) const
inline

◆ GetActualShaderCodeSize()

uint32 FShaderCodeReader::GetActualShaderCodeSize ( ) const
inline

◆ GetOffsetShaderCode()

TConstArrayView< uint8 > FShaderCodeReader::GetOffsetShaderCode ( int32  Offset)
inline

◆ GetOptionalDataSize()

int32 FShaderCodeReader::GetOptionalDataSize ( ) const
inline

◆ GetShaderCodeSize()

int32 FShaderCodeReader::GetShaderCodeSize ( ) const
inline

The documentation for this class was generated from the following file: