You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
521 B
26 lines
521 B
//===== 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
|