struct SBuildTerrainTextureParams { uint16 nDstTexDimX; uint16 nDstTexDimY; uint16 nSyncTextures; uint16 nSrcTexDimX; uint16 nSrcTexDimY; class IDynTexture * pDstTex_Diff; class IDynTexture * pDstTex_Bump; struct IRenderMesh * pRM; float fMeshNodeSize; float fLodDistance; float fTexRangeScale; SBuildTerrainTextureInfo arrSrcTextures[32]; bool bHeightMapMode; bool bOverlayBlend; bool bMixMask; int nBumpDownScale; Vec3 vMMSrcNodeInfo; struct SBuildItem { struct IRenderNode * pRenderNode; int nTerrainLayerId; int nRemeshTexId[VOX_TEX_NUM_SRC]; }; PodArray<SBuildItem> * pDecalsAndRoadsAndTerrainLayers; Vec3 vMeshWSPos; Vec3 vBoxMin; };
IRenderer.h
struct SBuildItem { struct IRenderNode * pRenderNode; int nTerrainLayerId; int nRemeshTexId[VOX_TEX_NUM_SRC]; };
IRenderer.h
int nRemeshTexId[VOX_TEX_NUM_SRC];
int nTerrainLayerId;
struct IRenderNode * pRenderNode;
SBuildItem();
SBuildTerrainTextureInfo arrSrcTextures[32];
bool bHeightMapMode;
bool bMixMask;
bool bOverlayBlend;
float fLodDistance;
float fMeshNodeSize;
float fTexRangeScale;
int nBumpDownScale;
uint16 nDstTexDimX;
uint16 nDstTexDimY;
uint16 nSrcTexDimX;
uint16 nSrcTexDimY;
uint16 nSyncTextures;
PodArray<SBuildItem> * pDecalsAndRoadsAndTerrainLayers;
class IDynTexture * pDstTex_Bump;
class IDynTexture * pDstTex_Diff;
struct IRenderMesh * pRM;
Vec3 vBoxMin;
Vec3 vMeshWSPos;
Vec3 vMMSrcNodeInfo;
SBuildTerrainTextureParams();