Irrlicht 3D Engine
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
IMesh.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_MESH_H_INCLUDED__
6
#define __I_MESH_H_INCLUDED__
7
8
#include "
IReferenceCounted.h
"
9
#include "
SMaterial.h
"
10
#include "
EHardwareBufferFlags.h
"
11
12
namespace
irr
13
{
14
namespace
scene
15
{
16
class
IMeshBuffer;
17
19
23
class
IMesh
:
public
virtual
IReferenceCounted
24
{
25
public
:
26
28
29
virtual
u32
getMeshBufferCount
()
const
= 0;
30
32
36
virtual
IMeshBuffer
*
getMeshBuffer
(
u32
nr)
const
= 0;
37
39
42
virtual
IMeshBuffer
*
getMeshBuffer
(
const
video::SMaterial
&material)
const
= 0;
43
45
46
virtual
const
core::aabbox3d<f32>
&
getBoundingBox
()
const
= 0;
47
49
50
virtual
void
setBoundingBox
(
const
core::aabbox3df
& box) = 0;
51
53
55
virtual
void
setMaterialFlag
(
video::E_MATERIAL_FLAG
flag,
bool
newvalue) = 0;
56
58
62
virtual
void
setHardwareMappingHint
(
E_HARDWARE_MAPPING
newMappingHint,
E_BUFFER_TYPE
buffer=
EBT_VERTEX_AND_INDEX
) = 0;
63
65
68
virtual
void
setDirty
(
E_BUFFER_TYPE
buffer=
EBT_VERTEX_AND_INDEX
) = 0;
69
};
70
71
}
// end namespace scene
72
}
// end namespace irr
73
74
#endif
75
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sat Apr 20 2019 06:56:49 for Irrlicht 3D Engine by
Doxygen
1.8.1.2