![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RenderGraphResources.h>
Inheritance diagram for FRDGViewableResource:Classes | |
| struct | FAccessModeState |
Public Member Functions | |
| bool | IsExternal () const |
| bool | IsExtracted () const |
| bool | HasBeenProduced () const |
| void | SetOwnerName (const FName &InOwnerName) |
| bool | IsDebugNameHeapAllocated () const |
Public Member Functions inherited from FRDGResource | |
| FRDGResource (const FRDGResource &)=delete | |
| virtual | ~FRDGResource ()=default |
| virtual RENDERCORE_API void | MarkResourceAsUsed () |
| The following methods may only be called during pass execution. | |
| FRHIResource * | GetRHI () const |
Public Attributes | |
| const ERDGViewableResourceType | Type |
Public Attributes inherited from FRDGResource | |
| const TCHAR *const | Name = nullptr |
Protected Types | |
| enum class | ETransientExtractionHint : uint8 { None , Disable , Enable } |
| enum class | EAccessMode : uint8 { Internal , External } |
Protected Member Functions | |
| RENDERCORE_API | FRDGViewableResource (const TCHAR *InName, ERDGViewableResourceType InType, bool bSkipTracking, bool bImmediateFirstBarrier) |
| bool | IsCullRoot () const |
Protected Member Functions inherited from FRDGResource | |
| FRDGResource (const TCHAR *InName) | |
| FRHIResource * | GetRHIUnchecked () const |
| bool | HasRHI () const |
| RENDERCORE_API void | ValidateRHIAccess () const |
Protected Attributes | |
| uint8 | bExternal: 1 |
| uint8 | bExtracted: 1 |
| uint8 | bProduced: 1 |
| uint8 | bTransient: 1 |
| uint8 | bForceNonTransient: 1 |
| uint8 | bSkipLastTransition: 1 |
| uint8 | bSplitFirstTransition: 1 |
| uint8 | bQueuedForUpload: 1 |
| uint8 | bCollectForAllocate: 1 |
| uint8 | bClobbered: 1 |
| ETransientExtractionHint | TransientExtractionHint |
| struct FRDGViewableResource::FAccessModeState | AccessModeState |
| FRDGPassHandle | AcquirePass |
| FRDGPassHandle | DiscardPass |
| FRDGPassHandle | FirstPass |
| FRDGPassHandlesByPipeline | LastPasses |
| uint32 | ReferenceCount |
| uint32 | PassStateIndex = 0 |
| TArrayView< const FRHITransientAliasingOverlap > | AliasingOverlaps |
| ERHIAccess | EpilogueAccess = DefaultEpilogueAccess |
Protected Attributes inherited from FRDGResource | |
| FRHIResource * | ResourceRHI = nullptr |
Static Protected Attributes | |
| static const ERHIAccess | DefaultEpilogueAccess = ERHIAccess::SRVMask |
Friends | |
| bool | IsExtendedLifetimeResource (FRDGViewableResource *) |
A render graph resource with an allocation lifetime tracked by the graph. May have child resources which reference it (e.g. views).
|
strongprotected |
|
strongprotected |
|
protected |
|
inline |
Whether a prior pass added to the graph produced contents for this resource. External resources are not considered produced until used for a write operation. This is a union of all subresources, so any subresource write will set this to true.
|
inlineprotected |
|
inline |
|
inline |
Whether this resource is externally registered with the graph (i.e. the user holds a reference to the underlying resource outside the graph).
|
inline |
Whether this resource is has been queued for extraction at the end of graph execution.
|
friend |
|
protected |
|
protected |
|
protected |
Set of aliasing overlaps to apply to the acquire transition if transient.
|
protected |
|
protected |
If false, the resource needs to be collected.
|
protected |
Whether this is an externally registered resource.
|
protected |
Whether this is an extracted resource.
|
protected |
Whether this resource cannot be made transient.
|
protected |
Whether any sub-resource has been used for write by a pass.
|
protected |
If true, the resource has been queued for an upload operation.
|
protected |
If true, the graph will skip the last graph transition. Used for aliased pooled resources.
|
protected |
If true, this resource should skip the first split barrier and perform transition right away.
|
protected |
Whether this resource is allocated through the transient resource allocator.
|
staticprotected |
|
protected |
|
protected |
The state of the resource at the graph epilogue.
|
protected |
|
protected |
|
protected |
Scratch index allocated for the resource in the pass being setup.
|
protected |
Number of references in passes and deferred queries.
|
protected |
Whether this resource is allowed to be both transient and extracted.
| const ERDGViewableResourceType FRDGViewableResource::Type |
The type of this resource; useful for casting between types.