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 * GetOrCreateSRV
(
FRHICommandListBase & RHICmdList,
FRHITexture * Texture,
const FRHITextureSRVCreateInfo & CreateInfo
)
Remarks
Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache.