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

#include <VirtualTextureProducer.h>

Public Member Functions

 FVirtualTextureProducerCollection ()
 
FVirtualTextureProducerHandle RegisterProducer (FRHICommandListBase &RHICmdList, FVirtualTextureSystem *System, const FVTProducerDescription &InDesc, IVirtualTexture *InProducer)
 
void ReleaseProducer (FVirtualTextureSystem *System, const FVirtualTextureProducerHandle &Handle)
 
bool TryReleaseProducer (FVirtualTextureSystem *System, const FVirtualTextureProducerHandle &Handle)
 
void AddDestroyedCallback (const FVirtualTextureProducerHandle &Handle, FVTProducerDestroyedFunction *Function, void *Baton)
 
uint32 RemoveAllCallbacks (const void *Baton)
 
void CallPendingCallbacks ()
 
bool HasPendingCallbacks () const
 
void NotifyRequestsCompleted ()
 
FVirtualTextureProducerFindProducer (const FVirtualTextureProducerHandle &Handle)
 
FVirtualTextureProducerGetProducer (const FVirtualTextureProducerHandle &Handle)
 

Constructor & Destructor Documentation

◆ FVirtualTextureProducerCollection()

FVirtualTextureProducerCollection::FVirtualTextureProducerCollection ( )

Member Function Documentation

◆ AddDestroyedCallback()

void FVirtualTextureProducerCollection::AddDestroyedCallback ( const FVirtualTextureProducerHandle Handle,
FVTProducerDestroyedFunction Function,
void Baton 
)

◆ CallPendingCallbacks()

void FVirtualTextureProducerCollection::CallPendingCallbacks ( )

◆ FindProducer()

FVirtualTextureProducer * FVirtualTextureProducerCollection::FindProducer ( const FVirtualTextureProducerHandle Handle)

Gets the producer associated with the given handle, or nullptr if handle is invalid Returned pointer is only valid until the next call to RegisterProducer, so should not be stored beyond scope of a function

◆ GetProducer()

FVirtualTextureProducer & FVirtualTextureProducerCollection::GetProducer ( const FVirtualTextureProducerHandle Handle)

Like FindProducer, but fails check/crashes if handle is not valid. Returns a reference, since never needs to return nullptr

◆ HasPendingCallbacks()

bool FVirtualTextureProducerCollection::HasPendingCallbacks ( ) const

◆ NotifyRequestsCompleted()

void FVirtualTextureProducerCollection::NotifyRequestsCompleted ( )

Notify producers marked as "continous notify" that all requests have been completed.

◆ RegisterProducer()

FVirtualTextureProducerHandle FVirtualTextureProducerCollection::RegisterProducer ( FRHICommandListBase RHICmdList,
FVirtualTextureSystem System,
const FVTProducerDescription InDesc,
IVirtualTexture InProducer 
)

◆ ReleaseProducer()

void FVirtualTextureProducerCollection::ReleaseProducer ( FVirtualTextureSystem System,
const FVirtualTextureProducerHandle Handle 
)

◆ RemoveAllCallbacks()

uint32 FVirtualTextureProducerCollection::RemoveAllCallbacks ( const void Baton)

◆ TryReleaseProducer()

bool FVirtualTextureProducerCollection::TryReleaseProducer ( FVirtualTextureSystem System,
const FVirtualTextureProducerHandle Handle 
)

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