Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- FRDGResource
- FRDGViewableResource
- FRDGBuffer
- FRDGTexture
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderGraphResources.h |
| Include | #include "RenderGraphResources.h" |
Syntax
class FRDGViewableResource : public FRDGResource
Remarks
A render graph resource with an allocation lifetime tracked by the graph. May have child resources which reference it (e.g. views).
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRDGViewableResource::FAccessModeState | AccessModeState | ||
| FRDGPassHandle | AcquirePass | ||
| TArrayView< const FRHITransientAliasingOverlap > | AliasingOverlaps | Set of aliasing overlaps to apply to the acquire transition if transient. | |
| uint8: 1 | bCollectForAllocate | If false, the resource needs to be collected. | |
| uint8: 1 | bExternal | Whether this is an externally registered resource. | |
| uint8: 1 | bExtracted | Whether this is an extracted resource. | |
| uint8: 1 | bForceNonTransient | Whether this resource cannot be made transient. | |
| uint8: 1 | bHeapAllocatedDebugName | If true, the debug name passed to the constructor was heap allocated, and needs to be freed in the destructor. | |
| uint8: 1 | bProduced | Whether any sub-resource has been used for write by a pass. | |
| uint8: 1 | bQueuedForUpload | If true, the resource has been queued for an upload operation. | |
| uint8: 1 | bSkipLastTransition | If true, the graph will skip the last graph transition. Used for aliased pooled resources. | |
| uint8: 1 | bSplitFirstTransition | If true, this resource should skip the first split barrier and perform transition right away. | |
| uint8: 1 | bTransient | Whether this resource is allocated through the transient resource allocator. | |
| FRDGPassHandle | DiscardPass | ||
| ERHIAccess | EpilogueAccess | The state of the resource at the graph epilogue. | |
| FRDGPassHandle | FirstPass | ||
| FRDGPassHandlesByPipeline | LastPasses | ||
| uint32 | PassStateIndex | Scratch index allocated for the resource in the pass being setup. | |
| uint32 | ReferenceCount | Number of references in passes and deferred queries. | |
| ETransientExtractionHint | TransientExtractionHint | Whether this resource is allowed to be both transient and extracted. | |
| const ERDGViewableResourceType | Type | The type of this resource; useful for casting between types. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRDGViewableResource
(
const TCHAR* InName, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Whether a prior pass added to the graph produced contents for this resource. | ||
| bool | IsCulled () |
||
| bool | IsCullRoot () |
||
| bool | |||
| bool | IsExternal () |
Whether this resource is externally registered with the graph (i.e. the user holds a reference to the underlying resource outside the graph). | |
| bool | IsExtracted () |
Whether this resource is has been queued for extraction at the end of graph execution. | |
| void | |||
| void | SetOwnerName
(
const FName& InOwnerName |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FAccessModeState |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAccessMode | |||
| ETransientExtractionHint |
Constants
| Name | Description |
|---|---|
| DeallocatedReferenceCount | |
| DefaultEpilogueAccess |