See https://github.com/Aminator9000/DirectX12GameEngine/commit/a9ede9996504736a8d55f2b6d42e27ae82aaadc3.