Ocular Engine
TextureEnums.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_TEXTURE_ENUMS__H__
19 #define __H__OCULAR_GRAPHICS_TEXTURE_ENUMS__H__
20 
21 //------------------------------------------------------------------------------------------
22 
27 namespace Ocular
28 {
33  namespace Graphics
34  {
39  enum class TextureFilterMode : unsigned
40  {
41  Point = 0,
42  Bilinear,
43  Trilinear,
44  Anisotropic
45  };
46 
51  enum class TextureAccess : unsigned
52  {
53  ReadWrite = 0,
54  ReadOnly,
55  WriteOnly,
56  None
57  };
58 
63  enum class TextureType : unsigned
64  {
65  Texture2D = 0,
66  RenderTexture2D,
67  DepthTexture2D,
68  CubeMap
69  };
70 
74  enum class TextureFormat : unsigned
75  {
76  R32G32B32A32Float = 0,
77  R32G32B32A32Unsigned,
78  R32G32B32A32Signed,
79  R32G32B32Float,
80  R32G32B32Unsigned,
81  R32G32B32Signed,
82  R32G32Float,
83  R32G32Unsigned,
84  R32G32Signed,
85  R32Float,
86  R32Unsigned,
87  R32Signed,
88  R16G16B16A16Float,
89  R16G16B16A16Unsigned,
90  R16G16B16A16Signed,
91  R16G16B16Float,
92  R16G16B16Unsigned,
93  R16G16B16Signed,
94  R16G16Float,
95  R16G16Unsigned,
96  R16G16Signed,
97  R16Float,
98  R16Unsigned,
99  R16Signed,
100  R8G8B8A8Float,
101  R8G8B8A8Unsigned,
102  R8G8B8A8Signed,
103  R8G8B8Float,
104  R8G8B8Unsigned,
105  R8G8B8Signed,
106  R8G8Float,
107  R8G8Unsigned,
108  R8G8Signed,
109  R8Float,
110  R8Unsigned,
111  R8Signed,
112  Depth
113  };
114  }
118 }
123 //------------------------------------------------------------------------------------------
124 
125 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70