mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-10 22:23:34 +00:00
27 lines
470 B
C++
27 lines
470 B
C++
#ifndef __MLX_RENDERER_ENUMS__
|
|
#define __MLX_RENDERER_ENUMS__
|
|
|
|
namespace mlx
|
|
{
|
|
enum class BufferType
|
|
{
|
|
Constant = 0,
|
|
Staging,
|
|
HighDynamic, // typically stored in RAM
|
|
LowDynamic, // typically stored in VRAM
|
|
|
|
EndEnum
|
|
};
|
|
constexpr std::size_t BufferTypeCount = static_cast<std::size_t>(BufferType::EndEnum);
|
|
|
|
enum class ImageType
|
|
{
|
|
Color = 0,
|
|
|
|
EndEnum
|
|
};
|
|
constexpr std::size_t ImageTypeCount = static_cast<std::size_t>(ImageType::EndEnum);
|
|
}
|
|
|
|
#endif
|