diff options
Diffstat (limited to 'libraries/irrlicht-1.8/include/EHardwareBufferFlags.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/EHardwareBufferFlags.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/libraries/irrlicht-1.8/include/EHardwareBufferFlags.h b/libraries/irrlicht-1.8/include/EHardwareBufferFlags.h index d759455..27d5610 100644 --- a/libraries/irrlicht-1.8/include/EHardwareBufferFlags.h +++ b/libraries/irrlicht-1.8/include/EHardwareBufferFlags.h | |||
@@ -1,44 +1,44 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __E_HARDWARE_BUFFER_FLAGS_INCLUDED__ | 5 | #ifndef __E_HARDWARE_BUFFER_FLAGS_INCLUDED__ |
6 | #define __E_HARDWARE_BUFFER_FLAGS_INCLUDED__ | 6 | #define __E_HARDWARE_BUFFER_FLAGS_INCLUDED__ |
7 | 7 | ||
8 | namespace irr | 8 | namespace irr |
9 | { | 9 | { |
10 | namespace scene | 10 | namespace scene |
11 | { | 11 | { |
12 | 12 | ||
13 | enum E_HARDWARE_MAPPING | 13 | enum E_HARDWARE_MAPPING |
14 | { | 14 | { |
15 | //! Don't store on the hardware | 15 | //! Don't store on the hardware |
16 | EHM_NEVER=0, | 16 | EHM_NEVER=0, |
17 | 17 | ||
18 | //! Rarely changed, usually stored completely on the hardware | 18 | //! Rarely changed, usually stored completely on the hardware |
19 | EHM_STATIC, | 19 | EHM_STATIC, |
20 | 20 | ||
21 | //! Sometimes changed, driver optimized placement | 21 | //! Sometimes changed, driver optimized placement |
22 | EHM_DYNAMIC, | 22 | EHM_DYNAMIC, |
23 | 23 | ||
24 | //! Always changed, cache optimizing on the GPU | 24 | //! Always changed, cache optimizing on the GPU |
25 | EHM_STREAM | 25 | EHM_STREAM |
26 | }; | 26 | }; |
27 | 27 | ||
28 | enum E_BUFFER_TYPE | 28 | enum E_BUFFER_TYPE |
29 | { | 29 | { |
30 | //! Does not change anything | 30 | //! Does not change anything |
31 | EBT_NONE=0, | 31 | EBT_NONE=0, |
32 | //! Change the vertex mapping | 32 | //! Change the vertex mapping |
33 | EBT_VERTEX, | 33 | EBT_VERTEX, |
34 | //! Change the index mapping | 34 | //! Change the index mapping |
35 | EBT_INDEX, | 35 | EBT_INDEX, |
36 | //! Change both vertex and index mapping to the same value | 36 | //! Change both vertex and index mapping to the same value |
37 | EBT_VERTEX_AND_INDEX | 37 | EBT_VERTEX_AND_INDEX |
38 | }; | 38 | }; |
39 | 39 | ||
40 | } // end namespace scene | 40 | } // end namespace scene |
41 | } // end namespace irr | 41 | } // end namespace irr |
42 | 42 | ||
43 | #endif | 43 | #endif |
44 | 44 | ||