UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUniformExpressionCache Struct Reference

#include <MaterialRenderProxy.h>

Public Member Functions

ENGINE_API ~FUniformExpressionCache ()
 
void ResetAllocatedVTs ()
 

Public Attributes

FUniformBufferRHIRef UniformBuffer
 
TArray< IAllocatedVirtualTexture * > AllocatedVTs
 
TArray< IAllocatedVirtualTexture * > OwnedAllocatedVTs
 
TArray< FGuidParameterCollections
 
const FMaterialShaderMapCachedUniformExpressionShaderMap = nullptr
 

Detailed Description

Cached uniform expression values.

Constructor & Destructor Documentation

◆ ~FUniformExpressionCache()

FUniformExpressionCache::~FUniformExpressionCache ( )

Destructor.

Member Function Documentation

◆ ResetAllocatedVTs()

void FUniformExpressionCache::ResetAllocatedVTs ( )

Member Data Documentation

◆ AllocatedVTs

TArray<IAllocatedVirtualTexture*> FUniformExpressionCache::AllocatedVTs

Allocated virtual textures, one for each entry in FUniformExpressionSet::VTStacks

◆ CachedUniformExpressionShaderMap

const FMaterialShaderMap* FUniformExpressionCache::CachedUniformExpressionShaderMap = nullptr

Shader map that was used to cache uniform expressions on this material. This is used for debugging, verifying correct behavior and checking if the cache is up to date.

◆ OwnedAllocatedVTs

TArray<IAllocatedVirtualTexture*> FUniformExpressionCache::OwnedAllocatedVTs

Allocated virtual textures that will need destroying during a call to ResetAllocatedVTs()

◆ ParameterCollections

TArray<FGuid> FUniformExpressionCache::ParameterCollections

Ids of parameter collections needed for rendering.

◆ UniformBuffer

FUniformBufferRHIRef FUniformExpressionCache::UniformBuffer

Material uniform buffer.


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