Navigation
API > API/Runtime > API/Runtime/RHI
| Name | FRHIBufferViewCache |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
class FRHIBufferViewCache
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SRVs | TArray< TPair< FRHIBufferSRVCreateInfo, FShaderResourceViewRHIRef >, TInlineAllocator< 1 > > | RHIResources.h | ||
| UAVs | TArray< TPair< FRHIBufferUAVCreateInfo, FUnorderedAccessViewRHIRef >, TInlineAllocator< 1 > > | RHIResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHIShaderResourceView * GetOrCreateSRV
(
FRHICommandListBase& RHICmdList, |
Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache. | RHIResources.h | |
FRHIUnorderedAccessView * GetOrCreateUAV
(
FRHICommandListBase& RHICmdList, |
Finds a UAV matching the descriptor in the cache or creates a new one and updates the cache. | RHIResources.h | |
int32 NumItems() |
RHIResources.h | ||
void SetDebugName
(
FRHICommandListBase& RHICmdList, |
Sets the debug name of the RHI view resources. | RHIResources.h |