csgo-2018-source/public/materialsystem/imesh_declarations.h
2021-07-24 21:11:47 -07:00

26 lines
521 B
C

//===== Copyright © Valve Corporation, All rights reserved. ======//
#ifndef IMESH_DECLARATIONS_HDR
#define IMESH_DECLARATIONS_HDR
enum SpuMeshRenderDataEnum{ MAX_SPU_MESHRENDERDATA = 2, MAX_SPU_PRIM_DATA = 128 };
typedef struct
{
int primFirstIndex;
int primNumIndices;
} SPUPrimRenderData;
typedef struct
{
/*GfxPrimType*/int primType;
MaterialPrimitiveType_t materialType;
SPUPrimRenderData primData[ MAX_SPU_PRIM_DATA ];
uint32 numPrims;
uint32 firstIndex;
} SPUMeshRenderData;
#endif