Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderMapResource
Description
Releases all RHI shaders. This retains the internal array so that new RHI shaders can be created again, for example when a shadermap resource is being transferred to a new shader library instance.
| Name | ReleaseShaders |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/Shader.h |
| Include Path | #include "Shader.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderResource.cpp |
void ReleaseShaders()