Navigation
API > API/Runtime > API/Runtime/RenderCore
A render graph tracked buffer.
| Name | FRDGBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphResources.h |
| Include Path | #include "RenderGraphResources.h" |
Syntax
class FRDGBuffer : public FRDGViewableResource
Inheritance Hierarchy
- FRDGResource → FRDGViewableResource → FRDGBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRDGBuffer
(
const TCHAR* InName, |
RenderGraphResources.h | ||
FRDGBuffer
(
const TCHAR* InName, |
RenderGraphResources.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticType | const ERDGViewableResourceType | RenderGraphResources.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Desc | FRDGBufferDesc | RenderGraphResources.h | ||
| Flags | const ERDGBufferFlags | RenderGraphResources.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Allocation | TRefCountPtr< FRDGPooledBuffer > | Valid strictly when holding a strong reference; use PooledBuffer instead. | RenderGraphResources.h | |
| FirstState | FRDGSubresourceState * | Tracks the first state in the graph for this buffer. | RenderGraphResources.h | |
| FRDGAllocator | friend | RenderGraphResources.h | ||
| FRDGBarrierValidation | friend | RenderGraphResources.h | ||
| FRDGBufferRegistry | friend | RenderGraphResources.h | ||
| FRDGBuilder | friend | RenderGraphResources.h | ||
| FRDGTrace | friend | RenderGraphResources.h | ||
| FRDGUserValidation | friend | RenderGraphResources.h | ||
| Handle | FRDGBufferHandle | Registered handle set by the builder. | RenderGraphResources.h | |
| LastProducer | FRDGProducerStatesByPipeline | Tracks the last pass that produced this resource as the graph is built. | RenderGraphResources.h | |
| MergeState | FRDGSubresourceState * | Tracks the merged subresource state as the graph is built. | RenderGraphResources.h | |
| NextOwner | FRDGBufferHandle | RenderGraphResources.h | ||
| NumElementsCallback | FRDGBufferNumElementsCallback * | Optional callback to supply NumElements after the creation of this FRDGBuffer. | RenderGraphResources.h | |
| PendingCommitSize | uint64 | Optional reserved resource commit size to apply on the first resource transition. | RenderGraphResources.h | |
| PooledBuffer | FRDGPooledBuffer * | Assigned pooled buffer pointer. Never reset once assigned. | RenderGraphResources.h | |
| PreviousOwner | FRDGBufferHandle | The previous / next buffer to own the PooledBuffer allocation during execution. | RenderGraphResources.h | |
| State | FRDGSubresourceState * | Cached state pointer from the pooled / transient buffer. | RenderGraphResources.h | |
| TransientBuffer | FRHITransientBuffer * | Assigned transient buffer pointer. Never reset once assigned. | RenderGraphResources.h | |
| ViewCache | FRHIBufferViewCache * | The assigned buffer view cache (sourced from the pooled / transient buffer. Never reset. | RenderGraphResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRDGBufferHandle GetHandle() |
RenderGraphResources.h | ||
FRHIBuffer * GetIndirectRHICallBuffer() |
Returns the buffer to use for indirect RHI calls. | RenderGraphResources.h | |
FRHIBuffer * GetRHI() |
The following methods may only be called during pass execution. | RenderGraphResources.h | |
uint32 GetSize() |
RenderGraphResources.h | ||
uint32 GetStride() |
RenderGraphResources.h | ||
bool IsCulled() |
RenderGraphResources.h |