Redefined various ID types to be aliases of pointers instead of casting a uintptr_t to the needed pointer. e.g. SurfaceID = Surface*
18 lines
298 B
C++
18 lines
298 B
C++
/**
|
|
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Nova {
|
|
enum class RenderAPI { DX12, VULKAN };
|
|
|
|
class RenderDriver;
|
|
struct RenderDevice;
|
|
|
|
struct Surface;
|
|
using SurfaceID = Surface*;
|
|
} // namespace Nova
|