Redefined various ID types to be aliases of pointers instead of casting a uintptr_t to the needed pointer. e.g. SurfaceID = Surface*
20 lines
366 B
C++
20 lines
366 B
C++
/**
|
|
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <nova/api.h>
|
|
#include <nova/render/render_fwd.h>
|
|
|
|
namespace Nova {
|
|
class NOVA_API Renderer {
|
|
public:
|
|
static void init(RenderAPI api);
|
|
static void shutdown();
|
|
static RenderDriver* get_driver();
|
|
};
|
|
} // namespace Nova
|