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

#include <MetalShaderParameterCache.h>

Public Member Functions

 FMetalShaderParameterCache ()
 
 ~FMetalShaderParameterCache ()
 
void PrepareGlobalUniforms (uint32 TypeIndex, uint32 UniformArraySize)
 
void Reset ()
 
void MarkAllDirty ()
 
void Set (uint32 BufferIndex, uint32 ByteOffset, uint32 NumBytes, const void *NewValues)
 
void CommitPackedGlobals (class FMetalStateCache *Cache, class FMetalCommandEncoder *Encoder, uint32 Frequency, const FMetalShaderBindings &Bindings)
 

Constructor & Destructor Documentation

◆ FMetalShaderParameterCache()

FMetalShaderParameterCache::FMetalShaderParameterCache ( )

Constructor.

◆ ~FMetalShaderParameterCache()

FMetalShaderParameterCache::~FMetalShaderParameterCache ( )

Destructor.

Member Function Documentation

◆ CommitPackedGlobals()

void FMetalShaderParameterCache::CommitPackedGlobals ( class FMetalStateCache Cache,
class FMetalCommandEncoder Encoder,
uint32  Frequency,
const FMetalShaderBindings Bindings 
)

Commit shader parameters to the currently bound program.

◆ MarkAllDirty()

void FMetalShaderParameterCache::MarkAllDirty ( )

Marks all uniform arrays as dirty.

◆ PrepareGlobalUniforms()

void FMetalShaderParameterCache::PrepareGlobalUniforms ( uint32  TypeIndex,
uint32  UniformArraySize 
)
inline

◆ Reset()

void FMetalShaderParameterCache::Reset ( )

Invalidates all existing data.

◆ Set()

void FMetalShaderParameterCache::Set ( uint32  BufferIndex,
uint32  ByteOffset,
uint32  NumBytes,
const void NewValues 
)

Sets values directly into the packed uniform array


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