HatchitGraphics
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
include
unused
ht_mesh.h
1
25
#pragma once
26
27
#include <ht_platform.h>
28
#include <ht_model.h>
29
#include <ht_mesh_resource.h>
30
31
namespace
Hatchit
{
32
namespace
Graphics {
33
34
class
MeshBase
;
35
36
struct
Vertex
37
{
38
aiVector3D pos;
39
aiVector3D norm;
40
aiVector2D uv;
41
};
42
43
class
HT_API
Mesh
:
public
Core::RefCounted<Mesh>
44
{
45
public
:
46
Mesh
(Core::Guid ID);
47
~
Mesh
();
48
49
bool
Initialize(
const
std::string& file);
50
51
uint32_t GetIndexCount();
52
53
MeshBase
*
const
GetBase()
const
;
54
55
protected
:
56
MeshBase
* m_base;
57
};
58
59
using
MeshHandle
=
Core::Handle<Mesh>
;
60
}
61
}
Hatchit::Core::Handle< Mesh >
Hatchit::Graphics::MeshBase
Definition:
ht_mesh_base.h:35
Hatchit::Graphics::Vertex
Definition:
ht_mesh.h:36
MeshBase
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Hatchit
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition:
ht_color.h:19
Hatchit::Graphics::Mesh
Definition:
ht_mesh.h:43
Generated by
1.8.11