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
ConstructorDescriptionUpdatedTerrainPatch
(TerrainPatch updatedPatch) UpdatedTerrainPatch
(TerrainPatch updatedPatch, int newLod) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected int
getName()
protected int
protected int
protected int
protected TerrainPatch
boolean
boolean
protected boolean
protected void
setBottomLod
(int bottomLod) void
setFixEdges
(boolean fixEdges) protected void
setLeftLod
(int leftLod) protected void
setNewIndexBuffer
(Buffer newIndexBuffer) void
setNewLod
(int newLod) void
setPreviousLod
(int previousLod) protected void
setRightLod
(int rightLod) protected void
setTopLod
(int topLod) protected void
setUpdatedPatch
(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()
-