Counter Strike : Global Offensive Source Code
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.

25 lines
521 B

  1. //===== Copyright � Valve Corporation, All rights reserved. ======//
  2. #ifndef IMESH_DECLARATIONS_HDR
  3. #define IMESH_DECLARATIONS_HDR
  4. enum SpuMeshRenderDataEnum{ MAX_SPU_MESHRENDERDATA = 2, MAX_SPU_PRIM_DATA = 128 };
  5. typedef struct
  6. {
  7. int primFirstIndex;
  8. int primNumIndices;
  9. } SPUPrimRenderData;
  10. typedef struct
  11. {
  12. /*GfxPrimType*/int primType;
  13. MaterialPrimitiveType_t materialType;
  14. SPUPrimRenderData primData[ MAX_SPU_PRIM_DATA ];
  15. uint32 numPrims;
  16. uint32 firstIndex;
  17. } SPUMeshRenderData;
  18. #endif