Added XY_Color VertexLayout
Former-commit-id: 0f53126584b61738b25b1d86cec819d6166ad678
This commit is contained in:
@@ -274,6 +274,7 @@ enum nzVertexLayout
|
||||
{
|
||||
// Déclarations destinées au rendu
|
||||
nzVertexLayout_XY,
|
||||
nzVertexLayout_XY_Color,
|
||||
nzVertexLayout_XY_UV,
|
||||
nzVertexLayout_XYZ,
|
||||
nzVertexLayout_XYZ_Color,
|
||||
|
||||
@@ -18,6 +18,11 @@ struct NzVertexStruct_XY
|
||||
NzVector2f position;
|
||||
};
|
||||
|
||||
struct NzVertexStruct_XY_Color : NzVertexStruct_XY
|
||||
{
|
||||
NzColor color;
|
||||
};
|
||||
|
||||
struct NzVertexStruct_XY_UV : NzVertexStruct_XY
|
||||
{
|
||||
NzVector2f uv;
|
||||
|
||||
Reference in New Issue
Block a user