![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 () |
| FVirtualTextureProducer * | FindProducer (const FVirtualTextureProducerHandle &Handle) |
| FVirtualTextureProducer & | GetProducer (const FVirtualTextureProducerHandle &Handle) |
| FVirtualTextureProducerCollection::FVirtualTextureProducerCollection | ( | ) |
| void FVirtualTextureProducerCollection::AddDestroyedCallback | ( | const FVirtualTextureProducerHandle & | Handle, |
| FVTProducerDestroyedFunction * | Function, | ||
| void * | Baton | ||
| ) |
| void FVirtualTextureProducerCollection::CallPendingCallbacks | ( | ) |
| 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
| 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
| bool FVirtualTextureProducerCollection::HasPendingCallbacks | ( | ) | const |
| void FVirtualTextureProducerCollection::NotifyRequestsCompleted | ( | ) |
Notify producers marked as "continous notify" that all requests have been completed.
| FVirtualTextureProducerHandle FVirtualTextureProducerCollection::RegisterProducer | ( | FRHICommandListBase & | RHICmdList, |
| FVirtualTextureSystem * | System, | ||
| const FVTProducerDescription & | InDesc, | ||
| IVirtualTexture * | InProducer | ||
| ) |
| void FVirtualTextureProducerCollection::ReleaseProducer | ( | FVirtualTextureSystem * | System, |
| const FVirtualTextureProducerHandle & | Handle | ||
| ) |
| bool FVirtualTextureProducerCollection::TryReleaseProducer | ( | FVirtualTextureSystem * | System, |
| const FVirtualTextureProducerHandle & | Handle | ||
| ) |