aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/include/EHardwareBufferFlags.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:28:34 +1000
committerDavid Walter Seikel2016-03-28 22:28:34 +1000
commit7028cbe09c688437910a25623098762bf0fa592d (patch)
tree10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/include/EHardwareBufferFlags.h
parentMove lemon to the src/others directory. (diff)
downloadSledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/include/EHardwareBufferFlags.h')
-rw-r--r--src/others/irrlicht-1.8.1/include/EHardwareBufferFlags.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/include/EHardwareBufferFlags.h b/src/others/irrlicht-1.8.1/include/EHardwareBufferFlags.h
new file mode 100644
index 0000000..d759455
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/include/EHardwareBufferFlags.h
@@ -0,0 +1,44 @@
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 __E_HARDWARE_BUFFER_FLAGS_INCLUDED__
6#define __E_HARDWARE_BUFFER_FLAGS_INCLUDED__
7
8namespace irr
9{
10namespace scene
11{
12
13 enum E_HARDWARE_MAPPING
14 {
15 //! Don't store on the hardware
16 EHM_NEVER=0,
17
18 //! Rarely changed, usually stored completely on the hardware
19 EHM_STATIC,
20
21 //! Sometimes changed, driver optimized placement
22 EHM_DYNAMIC,
23
24 //! Always changed, cache optimizing on the GPU
25 EHM_STREAM
26 };
27
28 enum E_BUFFER_TYPE
29 {
30 //! Does not change anything
31 EBT_NONE=0,
32 //! Change the vertex mapping
33 EBT_VERTEX,
34 //! Change the index mapping
35 EBT_INDEX,
36 //! Change both vertex and index mapping to the same value
37 EBT_VERTEX_AND_INDEX
38 };
39
40} // end namespace scene
41} // end namespace irr
42
43#endif
44