NarcEngine 0.1.1
C++ Vulkan game engine
 
Loading...
Searching...
No Matches
Material.h
1//
2// Created by theoh on 08/03/2025.
3//
4
5#pragma once
6
7#include "resources/GraphicResourceHandler.h"
8
9namespace narc_engine
10{
11 class NARC_ENGINE_API Material
12 {
13 public:
14 explicit Material(const char* texturePath);
15 ~Material();
16
17 GETTER const uint32_t& getMaterialID() const { return m_materialID; }
18 GETTER const GraphicResourceHandler& getMainTexture() const { return m_mainTexture; }
19
20 private:
21 static uint32_t s_materialCounter;
22
23 uint32_t m_materialID;
24
25 GraphicResourceHandler m_mainTexture;
26 };
27} // narc_engine
Definition GraphicResourceHandler.h:12