Turned DataStorage enum into flags

Allowing for example hybrid buffer implementation


Former-commit-id: 74af1ba5b11b945abdfa6b46d0c11d600eca6d7c
This commit is contained in:
Lynix
2015-01-06 13:36:58 +01:00
parent fc1e75d379
commit 5cbdd8832c
8 changed files with 35 additions and 34 deletions

View File

@@ -75,13 +75,14 @@ enum nzCubemapFace
nzCubemapFace_Max = nzCubemapFace_NegativeZ
};
enum nzDataStorage
enum nzDataStorageFlags
{
nzDataStorage_Both,
nzDataStorage_Hardware,
nzDataStorage_Software,
nzDataStorage_Hardware = 0x1,
nzDataStorage_Software = 0x2,
nzDataStorage_Max = nzDataStorage_Software
nzDataStorage_Both = nzDataStorage_Hardware | nzDataStorage_Software,
nzDataStorage_Max = nzDataStorage_Software*2-1
};
enum nzEventType