UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TOptionalShaderMapRef< ShaderType > Class Template Reference

#include <Shader.h>

+ Inheritance diagram for TOptionalShaderMapRef< ShaderType >:

Public Member Functions

 TOptionalShaderMapRef (const typename ShaderType::ShaderMapType *ShaderIndex)
 
- Public Member Functions inherited from TShaderRefBase< ShaderType, PointerTableType >
 TShaderRefBase ()
 
 TShaderRefBase (ShaderType *InShader, const FShaderMapBase &InShaderMap)
 
 TShaderRefBase (const TShaderRefBase &)=default
 
template<typename OtherShaderType , typename OtherPointerTableType >
 TShaderRefBase (const TShaderRefBase< OtherShaderType, OtherPointerTableType > &Rhs)
 
TShaderRefBaseoperator= (const TShaderRefBase &)=default
 
template<typename OtherShaderType , typename OtherPointerTableType >
TShaderRefBaseoperator= (const TShaderRefBase< OtherShaderType, OtherPointerTableType > &Rhs)
 
bool IsValid () const
 
bool IsNull () const
 
void Reset ()
 
ShaderType * GetShader () const
 
const FShaderMapBaseGetShaderMap () const
 
const FShaderMapBaseGetShaderMapChecked () const
 
FShaderTypeGetType () const
 
FVertexFactoryTypeGetVertexFactoryType () const
 
FShaderMapResourceGetResourceChecked () const
 
const PointerTableTypeGetPointerTable () const
 
FShaderMapResourceGetResource () const
 
ShaderType * operator-> () const
 
FRHIShaderGetRHIShaderBase (EShaderFrequency Frequency, bool bRequired=true) const
 
FRHIGraphicsShaderGetGraphicsShader (bool bRequired=true) const
 
FRHIVertexShaderGetVertexShader (bool bRequired=true) const
 
FRHIMeshShaderGetMeshShader () const
 
FRHIAmplificationShaderGetAmplificationShader () const
 
FRHIPixelShaderGetPixelShader (bool bRequired=true) const
 
FRHIGeometryShaderGetGeometryShader () const
 
FRHIComputeShaderGetComputeShader () const
 
FRHIWorkGraphShaderGetWorkGraphShader () const
 

Additional Inherited Members

- Static Public Member Functions inherited from TShaderRefBase< ShaderType, PointerTableType >
template<typename OtherShaderType , typename OtherPointerTableType >
static TShaderRefBase< ShaderType, PointerTableTypeCast (const TShaderRefBase< OtherShaderType, OtherPointerTableType > &Rhs)
 
template<typename OtherShaderType , typename OtherPointerTableType >
static TShaderRefBase< ShaderType, PointerTableTypeReinterpretCast (const TShaderRefBase< OtherShaderType, OtherPointerTableType > &Rhs)
 

Detailed Description

template<typename ShaderType>
class TOptionalShaderMapRef< ShaderType >

A reference to an optional shader, initialized with a shader type from a shader map if it is available or nullptr if it is not.

Constructor & Destructor Documentation

◆ TOptionalShaderMapRef()

template<typename ShaderType >
TOptionalShaderMapRef< ShaderType >::TOptionalShaderMapRef ( const typename ShaderType::ShaderMapType *  ShaderIndex)
inline

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