A render graph resource with an allocation lifetime tracked by the graph. 更多...
#include <RenderGraphResources.h>
类 FRDGParentResource 继承关系图:Public 属性 | |
| const ERDGParentResourceType | Type |
| The type of this resource; useful for casting between types. | |
Protected 属性 | |
| uint8 | bCulled: 1 |
| If true, the resource was not used by any pass not culled by the graph. | |
| uint8 | bExternal: 1 |
| Whether this is an externally registered resource. | |
| uint8 | bExtracted: 1 |
| Whether this is an extracted resource. | |
| uint8 | bLastOwner: 1 |
| Whether this resource is the last owner of its allocation (i.e. 更多... | |
| uint8 | bTransient: 1 |
| Whether this resource needs acquire / discard. | |
| uint8 | bUsedByAsyncComputePass: 1 |
| If true, the resource has been used on an async compute pass and may have async compute states. | |
额外继承的成员函数 | |
Public 成员函数 继承自 FRDGResource | |
| void | MarkResourceAsUsed () |
| The following methods may only be called during pass execution. 更多... | |
Protected 成员函数 继承自 FRDGResource | |
| void | SetPassthroughRHI (FRHIResource *InResourceRHI) |
| Assigns this resource as a simple passthrough container for an RHI resource. | |
| void | ValidateRHIAccess () const |
| Verify that the RHI resource can be accessed at a pass execution. | |
A render graph resource with an allocation lifetime tracked by the graph.
May have child resources which reference it (e.g. views).
|
protected |
Whether this resource is the last owner of its allocation (i.e.
nothing aliases the allocation later in the execution timeline).