aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8.1/include/EHardwareBufferFlags.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-13 19:47:58 +1000
committerDavid Walter Seikel2014-01-13 19:47:58 +1000
commitf9158592e1478b2013afc7041d9ed041cf2d2f4a (patch)
treeb16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/include/EHardwareBufferFlags.h
parentLibraries readme updated with change markers and more of the Irrlicht changes. (diff)
downloadSledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to 'libraries/irrlicht-1.8.1/include/EHardwareBufferFlags.h')
-rw-r--r--libraries/irrlicht-1.8.1/include/EHardwareBufferFlags.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/include/EHardwareBufferFlags.h b/libraries/irrlicht-1.8.1/include/EHardwareBufferFlags.h
new file mode 100644
index 0000000..d759455
--- /dev/null
+++ b/libraries/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