Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Fielder <jason_apple>2022-05-12 21:49:09 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-05-12 21:50:11 +0300
commit073139e32943b863828474ca70bbdfc258520769 (patch)
tree9851acf5b0adc25113ca247d09bf8d2451b90979 /source/blender/gpu/GPU_common_types.h
parent992ae3f282cb9f9c3c9ce64e1c45a4c75066c31b (diff)
Metal: MTLState module implementation.
MTLState module implementation and supporting functionality in MTLContext for state tracking, texture binding and sampler state caching. Ref T96261 Reviewed By: fclem Maniphest Tasks: T96261 Differential Revision: https://developer.blender.org/D14827
Diffstat (limited to 'source/blender/gpu/GPU_common_types.h')
-rw-r--r--source/blender/gpu/GPU_common_types.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_common_types.h b/source/blender/gpu/GPU_common_types.h
new file mode 100644
index 00000000000..e08143c2449
--- /dev/null
+++ b/source/blender/gpu/GPU_common_types.h
@@ -0,0 +1,18 @@
+/** \file
+ * \ingroup gpu
+ */
+
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum eGPUFrontFace {
+ GPU_CLOCKWISE,
+ GPU_COUNTERCLOCKWISE,
+} eGPUFrontFace;
+
+#ifdef __cplusplus
+}
+#endif \ No newline at end of file