Package com.jme3.terrain.geomipmap
Class UpdatedTerrainPatch
java.lang.Object
com.jme3.terrain.geomipmap.UpdatedTerrainPatch
Stores a terrain patch's details so the LOD background thread can update
 the actual terrain patch back on the ogl thread.
- 
Constructor SummaryConstructorsConstructorDescriptionUpdatedTerrainPatch(TerrainPatch updatedPatch) UpdatedTerrainPatch(TerrainPatch updatedPatch, int newLod) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected intprotected intgetName()protected intprotected intprotected intprotected TerrainPatchbooleanbooleanprotected booleanprotected voidsetBottomLod(int bottomLod) voidsetFixEdges(boolean fixEdges) protected voidsetLeftLod(int leftLod) protected voidsetNewIndexBuffer(Buffer newIndexBuffer) voidsetNewLod(int newLod) voidsetPreviousLod(int previousLod) protected voidsetRightLod(int rightLod) protected voidsetTopLod(int topLod) protected voidsetUpdatedPatch(TerrainPatch updatedPatch) void
- 
Constructor Details- 
UpdatedTerrainPatch
- 
UpdatedTerrainPatch
 
- 
- 
Method Details- 
getName
- 
lodChangedprotected boolean lodChanged()
- 
getUpdatedPatch
- 
setUpdatedPatch
- 
getNewLodprotected int getNewLod()
- 
setNewLodpublic void setNewLod(int newLod) 
- 
setNewIndexBuffer
- 
getRightLodprotected int getRightLod()
- 
setRightLodprotected void setRightLod(int rightLod) 
- 
getTopLodprotected int getTopLod()
- 
setTopLodprotected void setTopLod(int topLod) 
- 
getLeftLodprotected int getLeftLod()
- 
setLeftLodprotected void setLeftLod(int leftLod) 
- 
getBottomLodprotected int getBottomLod()
- 
setBottomLodprotected void setBottomLod(int bottomLod) 
- 
isReIndexNeededpublic boolean isReIndexNeeded()
- 
isFixEdgespublic boolean isFixEdges()
- 
setFixEdgespublic void setFixEdges(boolean fixEdges) 
- 
setPreviousLodpublic void setPreviousLod(int previousLod) 
- 
updateAllpublic void updateAll()
 
-