yes
This commit is contained in:
31
Runtime/Includes/Renderer/Enums.h
git.filemode.normal_file
31
Runtime/Includes/Renderer/Enums.h
git.filemode.normal_file
@@ -0,0 +1,31 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user