HatchitGraphics
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
include
unused
ht_texture.h
1
15
#pragma once
16
17
#include <ht_debug.h>
18
#include <ht_platform.h>
19
#include <ht_sampler.h>
20
#include <cassert>
21
22
namespace
Hatchit
{
23
24
namespace
Graphics {
25
26
class
TextureBase;
27
28
class
HT_API
Texture
:
public
Core::RefCounted<Texture>
29
{
30
public
:
31
Texture
(Core::Guid ID);
32
33
~
Texture
();
34
35
bool
Initialize(
const
std::string& file);
36
bool
InitializeAsync(
Core::Handle<Texture>
tempHandle,
Core::Handle<Texture>
defaultHandle,
const
std::string& file);
37
38
uint32_t GetWidth()
const
;
39
uint32_t GetHeight()
const
;
40
TextureBase
*
const
GetBase()
const
;
41
42
private
:
43
TextureBase
* m_base;
44
};
45
46
using
TextureHandle
=
Core::Handle<Texture>
;
47
}
48
}
Hatchit::Core::Handle< Texture >
Hatchit
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition:
ht_color.h:19
Hatchit::Graphics::TextureBase
Definition:
ht_texture_base.h:24
Hatchit::Graphics::Texture
Definition:
ht_texture.h:28
Generated by
1.8.11