Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
Syntax
class FRHITextureViewCache
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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. | |
| void | SetDebugName
(
const TCHAR* DebugName |
Sets the debug name of the RHI view resources. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FRHIShaderResourceView * | GetOrCreateSRV
(
FRHITexture* Texture, |
GetOrCreateSRV now requires a command list. | |
| FRHIUnorderedAccessView * | GetOrCreateUAV
(
FRHITexture* Texture, |
GetOrCreateUAV now requires a command list. |