Package com.prineside.tdi2.managers
Class RenderingManager
java.lang.Object
com.prineside.tdi2.Manager.ManagerAdapter
com.prineside.tdi2.managers.RenderingManager
- All Implemented Interfaces:
 com.badlogic.gdx.utils.Disposable,Manager
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.prineside.tdi2.Manager
Manager.ManagerAdapter, Manager.ManagerWithListeners<T> - 
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.badlogic.gdx.graphics.g2d.SpriteBatchfinal com.badlogic.gdx.graphics.g3d.ModelBatchfinal com.badlogic.gdx.graphics.glutils.ShapeRenderer - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic com.badlogic.gdx.graphics.glutils.ShaderProgramvoiddispose()Releases all resources of this object.static booleanisAdditiveBatch(com.badlogic.gdx.graphics.g2d.Batch batch) static <T extends com.badlogic.gdx.graphics.g2d.Batch>
TprepareBatch(T batch, boolean additive) Prepare batch - set blending mode, call begin() if not drawing yet, set white colorvoidpreRender(float deltaTime) Вызывается перед любыми обновлениями и отрисовками экранов и системvoidstatic voidsetBatchAdditiveBlending(com.badlogic.gdx.graphics.g2d.Batch batch, boolean additive) voidMethods inherited from class com.prineside.tdi2.Manager.ManagerAdapter
clearPools, postRender, setup, test 
- 
Field Details
- 
shapeRenderer
public final com.badlogic.gdx.graphics.glutils.ShapeRenderer shapeRenderer - 
batch
public final com.badlogic.gdx.graphics.g2d.SpriteBatch batch - 
modelBatch
public final com.badlogic.gdx.graphics.g3d.ModelBatch modelBatch 
 - 
 - 
Constructor Details
- 
RenderingManager
public RenderingManager() 
 - 
 - 
Method Details
- 
preRender
public void preRender(float deltaTime) Description copied from interface:ManagerВызывается перед любыми обновлениями и отрисовками экранов и систем- Specified by:
 preRenderin interfaceManager- Overrides:
 preRenderin classManager.ManagerAdapter
 - 
resetTransformState
public void resetTransformState() - 
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
 disposein interfacecom.badlogic.gdx.utils.Disposable- Overrides:
 disposein classManager.ManagerAdapter
 - 
setBatchAdditiveBlending
public static void setBatchAdditiveBlending(com.badlogic.gdx.graphics.g2d.Batch batch, boolean additive)  - 
isAdditiveBatch
public static boolean isAdditiveBatch(com.badlogic.gdx.graphics.g2d.Batch batch)  - 
prepareBatch
public static <T extends com.badlogic.gdx.graphics.g2d.Batch> T prepareBatch(T batch, boolean additive) Prepare batch - set blending mode, call begin() if not drawing yet, set white color - 
stopAnyBatchDrawing
public void stopAnyBatchDrawing() - 
createDefaultShader
public static com.badlogic.gdx.graphics.glutils.ShaderProgram createDefaultShader() 
 -