remove deprication warnings
This commit is contained in:
-3
@@ -35,9 +35,7 @@ public abstract class AbstractDebugWireframeRenderer implements IBindable
|
||||
protected final PriorityBlockingQueue<BoxParticle> particles = new PriorityBlockingQueue<>();
|
||||
|
||||
// used when rendering
|
||||
@Deprecated // all rendering should be done in a single pass
|
||||
protected Mat4f dhMvmProjMatrixThisFrame;
|
||||
@Deprecated // all rendering should be done in a single pass
|
||||
protected Vec3f camPosFloatThisFrame;
|
||||
|
||||
|
||||
@@ -319,5 +317,4 @@ public abstract class AbstractDebugWireframeRenderer implements IBindable
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
package com.seibel.distanthorizons.core.wrapperInterfaces.render;
|
||||
|
||||
import com.seibel.distanthorizons.api.objects.render.DhApiRenderableBox;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface IGenericObjectVertexBufferContainer extends AutoCloseable
|
||||
{
|
||||
void uploadDataToGpu();
|
||||
|
||||
void updateVertexData(List<DhApiRenderableBox> uploadBoxList);
|
||||
|
||||
EState getState();
|
||||
void setState(EState state);
|
||||
|
||||
@Override
|
||||
void close();
|
||||
|
||||
|
||||
|
||||
//================//
|
||||
// helper classes //
|
||||
//================//
|
||||
//region
|
||||
|
||||
enum EState
|
||||
{
|
||||
NEW,
|
||||
UPDATING_DATA,
|
||||
READY_TO_UPLOAD,
|
||||
RENDER,
|
||||
|
||||
ERROR,
|
||||
}
|
||||
|
||||
//endregion
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user