Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHITextureViewCache > API/Runtime/RHI/FRHITextureViewCache/GetOrCreateSRV
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
| Source | /Engine/Source/Runtime/RHI/Private/RHI.cpp |
FRHIShaderResourceView &42; GetOrCreateSRV
&40;
FRHICommandListBase & RHICmdList,
FRHITexture &42; Texture,
const FRHITextureSRVCreateInfo & CreateInfo
&41;
Remarks
Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache.