You're breathtaking!
This commit is contained in:
15
Source/Engine/Graphics/Async/GPUSyncPoint.h
Normal file
15
Source/Engine/Graphics/Async/GPUSyncPoint.h
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Engine/Core/Types/BaseTypes.h"
|
||||
|
||||
/// <summary>
|
||||
/// Helper type used to synchronize CPU and GPU work
|
||||
/// </summary>
|
||||
typedef uint64 GPUSyncPoint;
|
||||
|
||||
/// <summary>
|
||||
/// Default latency (in frames) between CPU and GPU used for async gpu jobs
|
||||
/// </summary>
|
||||
#define GPU_ASYNC_LATENCY 2
|
||||
Reference in New Issue
Block a user