Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FRHITransientResource
- FRHITransientBuffer
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHITransientResourceAllocator.h |
| Include | #include "RHITransientResourceAllocator.h" |
Syntax
class FRHITransientBuffer : public FRHITransientResource
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FRHIBufferCreateInfo | CreateInfo | The create info describing the texture. | |
| FRHIBufferViewCache | ViewCache | The persistent view cache containing all views created for this buffer. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHITransientBuffer
(
FRHIBuffer* InBuffer, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FRHIBufferCreateInfo & | Returns the create info used when creating this buffer. | ||
| FRHIShaderResourceView * | GetOrCreateSRV
(
FRHICommandListBase& RHICmdList, |
Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache. | |
| FRHIUnorderedAccessView * | GetOrCreateUAV
(
FRHICommandListBase& RHICmdList, |
Finds a UAV matching the descriptor in the cache or creates a new one and updates the cache. | |
| FRHIBuffer * | GetRHI () |
Returns the underlying RHI buffer. |
Overridden from FRHITransientResource
| Type | Name | Description | |
|---|---|---|---|
| void | Acquire
(
const TCHAR* InName, |
Internal Allocator API. |