Files
FlaxEngine/Source/Engine/Graphics/Async/GPUSyncPoint.h
2022-01-14 13:31:12 +01:00

16 lines
366 B
C

// Copyright (c) 2012-2022 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