/Engine/Source/Runtime/RenderCore/Public/RenderResource.h
Releases the dynamic RHI resource and/or RHI render target resources used by this resource. Called when the resource is released, or when reseting all RHI resources. Resources that need to release before a D3D device reset must implement this function. This is only called by the rendering thread.
virtual void ReleaseDynamicRHI()