HatchitGraphics
ht_texture_base.h
1 
15 #pragma once
16 
17 #include <ht_platform.h>
18 #include <ht_types.h>
19 
20 namespace Hatchit
21 {
22  namespace Graphics
23  {
24  class HT_API TextureBase
25  {
26  public:
27  virtual ~TextureBase() = default;
28 
29  uint32_t GetWidth() const;
30  uint32_t GetHeight() const;
31 
32  protected:
33  const BYTE* m_data;
34  uint32_t m_width;
35  uint32_t m_height;
36  uint32_t m_bpp;
37  uint32_t m_channels;
38  uint32_t m_mipLevels;
39 
40  friend class Texture;
41  };
42  }
43 }
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Definition: ht_texture_base.h:24
Definition: ht_texture.h:28