Navigation
API > API/Runtime > API/Runtime/RHI
| Name | FRHITransientBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHITransientResourceAllocator.h |
| Include Path | #include "RHITransientResourceAllocator.h" |
Syntax
class FRHITransientBuffer : public FRHITransientResource
Inheritance Hierarchy
- FRHITransientResource → FRHITransientBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHITransientBuffer
(
const FResourceTask& InResourceTask, |
RHITransientResourceAllocator.h | ||
FRHITransientBuffer
(
FRHIResource* InBuffer, |
RHITransientResourceAllocator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRHITransientBuffer() |
RHITransientResourceAllocator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CreateInfo | const FRHIBufferCreateInfo | The create info describing the texture. | RHITransientResourceAllocator.h | |
| ViewCache | FRHIBufferViewCache | The persistent view cache containing all views created for this buffer. | RHITransientResourceAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FRHIBufferCreateInfo & GetCreateInfo() |
Returns the create info used when creating this buffer. | RHITransientResourceAllocator.h | |
FRHIShaderResourceView * GetOrCreateSRV
(
FRHICommandListBase& RHICmdList, |
Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache. | RHITransientResourceAllocator.h | |
FRHIUnorderedAccessView * GetOrCreateUAV
(
FRHICommandListBase& RHICmdList, |
Finds a UAV matching the descriptor in the cache or creates a new one and updates the cache. | RHITransientResourceAllocator.h | |
FRHIBuffer * GetRHI() |
Returns the underlying RHI buffer. | RHITransientResourceAllocator.h |