Add FieldOffsets class

This commit is contained in:
Jérôme Leclercq
2020-08-04 01:33:52 +02:00
parent 7736312c2f
commit 7fd3264d08
4 changed files with 356 additions and 0 deletions

View File

@@ -309,6 +309,40 @@ namespace Nz
SamplerWrap_Max = SamplerWrap_Repeat
};
enum StructFieldType
{
StructFieldType_Bool1,
StructFieldType_Bool2,
StructFieldType_Bool3,
StructFieldType_Bool4,
StructFieldType_Float1,
StructFieldType_Float2,
StructFieldType_Float3,
StructFieldType_Float4,
StructFieldType_Double1,
StructFieldType_Double2,
StructFieldType_Double3,
StructFieldType_Double4,
StructFieldType_Int1,
StructFieldType_Int2,
StructFieldType_Int3,
StructFieldType_Int4,
StructFieldType_UInt1,
StructFieldType_UInt2,
StructFieldType_UInt3,
StructFieldType_UInt4,
StructFieldType_Max = StructFieldType_UInt4
};
enum StructLayout
{
StructLayout_Packed,
StructLayout_Std140,
StructLayout_Max = StructLayout_Std140
};
enum StencilOperation
{
StencilOperation_Decrement,