diff options
author | Jason Fielder <jason_apple> | 2022-05-12 21:49:09 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-05-12 21:50:11 +0300 |
commit | 073139e32943b863828474ca70bbdfc258520769 (patch) | |
tree | 9851acf5b0adc25113ca247d09bf8d2451b90979 /source/blender/gpu/GPU_common_types.h | |
parent | 992ae3f282cb9f9c3c9ce64e1c45a4c75066c31b (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.h | 18 |
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 |