NarcEngine 0.1.1
C++ Vulkan game engine
 
Loading...
Searching...
No Matches
GraphicResource.h
1//
2// Created by theoh on 09/03/2025.
3//
4
5#pragma once
6
7#include "GraphicResourceHandler.h"
8#include "core/DeviceComponent.h"
9
10namespace narc_engine
11{
12 class DeviceHandler;
13
14 class GraphicResource : public DeviceComponent
15 {
16 public:
17 virtual ~GraphicResource();
18
19 GETTER const GraphicResourceHandler& getResourceHandler() const { return m_resourceHandler; };
20
21 protected:
22 explicit GraphicResource(GraphicResourceType type, uint32_t resourceID);
23
24 private:
25 const GraphicResourceHandler m_resourceHandler;
26 };
27} // narc_engine
Definition DeviceHandler.h:11
Definition GraphicResourceHandler.h:12