mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-10 22:23:35 +00:00
32 lines
537 B
C++
32 lines
537 B
C++
#ifndef __SCOP_RENDERER_ENUMS__
|
|
#define __SCOP_RENDERER_ENUMS__
|
|
|
|
#include <cstddef>
|
|
|
|
namespace Scop
|
|
{
|
|
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,
|
|
Cube,
|
|
Depth,
|
|
// Maybe add depth array
|
|
|
|
EndEnum
|
|
};
|
|
constexpr std::size_t ImageTypeCount = static_cast<std::size_t>(ImageType::EndEnum);
|
|
}
|
|
|
|
#endif
|