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

#include <ParameterCollection.h>

Public Member Functions

void GameThread_UpdateContents (const FGuid &InId, const TArray< FVector4f > &Data, const FName &InOwnerName, bool bRecreateUniformBuffer)
 
void GameThread_Destroy ()
 
FGuid GetId () const
 
FName GetOwnerName () const
 
FRHIUniformBufferGetUniformBuffer () const
 
 FMaterialParameterCollectionInstanceResource ()
 

Detailed Description

Rendering thread mirror of UMaterialParameterCollectionInstance. Stores data needed to render a material that references a UMaterialParameterCollection.

Constructor & Destructor Documentation

◆ FMaterialParameterCollectionInstanceResource()

FMaterialParameterCollectionInstanceResource::FMaterialParameterCollectionInstanceResource ( )
default

Member Function Documentation

◆ GameThread_Destroy()

void FMaterialParameterCollectionInstanceResource::GameThread_Destroy ( )

Destroy, called from the game thread.

◆ GameThread_UpdateContents()

void FMaterialParameterCollectionInstanceResource::GameThread_UpdateContents ( const FGuid InId,
const TArray< FVector4f > &  Data,
const FName InOwnerName,
bool  bRecreateUniformBuffer 
)

Update the contents of the uniform buffer, called from the game thread. bRecreateUniformBuffer must be false if any components have their rendering state created which might reference this! The calling code is responsible for issuing a FGlobalComponentRecreateRenderStateContext before modifying. Otherwise cached mesh draw commands will be left with a dangling pointer.

◆ GetId()

FGuid FMaterialParameterCollectionInstanceResource::GetId ( ) const
inline

◆ GetOwnerName()

FName FMaterialParameterCollectionInstanceResource::GetOwnerName ( ) const
inline

◆ GetUniformBuffer()

FRHIUniformBuffer * FMaterialParameterCollectionInstanceResource::GetUniformBuffer ( ) const
inline

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