1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Sync with latest source-sdk-2013.

This commit is contained in:
Nicholas Hastings
2014-10-30 12:30:57 -04:00
parent 6abc7fddca
commit aa5841f220
407 changed files with 6784 additions and 10498 deletions

View File

@ -178,6 +178,16 @@ struct DrawModelResults_t
CUtlVectorFixed<IMaterial *,MAX_DRAW_MODEL_INFO_MATERIALS> m_Materials;
};
struct ColorTexelsInfo_t
{
int m_nWidth;
int m_nHeight;
int m_nMipmapCount;
ImageFormat m_ImageFormat;
int m_nByteCount;
byte* m_pTexelData;
};
struct ColorMeshInfo_t
{
// A given color mesh can own a unique Mesh, or it can use a shared Mesh
@ -186,6 +196,8 @@ struct ColorMeshInfo_t
IPooledVBAllocator * m_pPooledVBAllocator;
int m_nVertOffsetInBytes;
int m_nNumVerts;
ITexture * m_pLightmap;
ColorTexelsInfo_t * m_pLightmapData;
};
struct DrawModelInfo_t