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 Summary
ConstructorsConstructorDescriptionUpdatedTerrainPatch(TerrainPatch updatedPatch) UpdatedTerrainPatch(TerrainPatch updatedPatch, int newLod) -
Method Summary
Modifier 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
-
lodChanged
protected boolean lodChanged() -
getUpdatedPatch
-
setUpdatedPatch
-
getNewLod
protected int getNewLod() -
setNewLod
public void setNewLod(int newLod) -
setNewIndexBuffer
-
getRightLod
protected int getRightLod() -
setRightLod
protected void setRightLod(int rightLod) -
getTopLod
protected int getTopLod() -
setTopLod
protected void setTopLod(int topLod) -
getLeftLod
protected int getLeftLod() -
setLeftLod
protected void setLeftLod(int leftLod) -
getBottomLod
protected int getBottomLod() -
setBottomLod
protected void setBottomLod(int bottomLod) -
isReIndexNeeded
public boolean isReIndexNeeded() -
isFixEdges
public boolean isFixEdges() -
setFixEdges
public void setFixEdges(boolean fixEdges) -
setPreviousLod
public void setPreviousLod(int previousLod) -
updateAll
public void updateAll()
-