change where vertex size is found

This commit is contained in:
James Seibel
2026-03-09 16:34:25 -05:00
parent 82c832a4af
commit 67b2467bee
2 changed files with 4 additions and 7 deletions
@@ -106,10 +106,6 @@ public class LodUtil
*/
public static final int MAX_ALLOCATABLE_DIRECT_MEMORY = 64 * 1024 * 1024;
/** the format of data stored in the GPU buffers */
@Deprecated
public static final LodVertexFormat DH_VERTEX_FORMAT = VertexFormats.POSITION_COLOR_BLOCK_LIGHT_SKY_LIGHT_MATERIAL_ID_NORMAL_INDEX;
//=========//
@@ -19,9 +19,8 @@
package com.seibel.distanthorizons.core.wrapperInterfaces.render;
import com.seibel.distanthorizons.api.objects.math.DhApiVec3f;
import com.seibel.distanthorizons.core.dataObjects.render.bufferBuilding.LodBufferContainer;
import com.seibel.distanthorizons.core.render.renderer.RenderParams;
import com.seibel.distanthorizons.core.render.RenderParams;
import com.seibel.distanthorizons.core.util.objects.SortedArraySet;
import com.seibel.distanthorizons.core.wrapperInterfaces.minecraft.IProfilerWrapper;
import com.seibel.distanthorizons.coreapi.interfaces.dependencyInjection.IBindable;
@@ -33,8 +32,10 @@ public interface IMcLodRenderer extends IBindable
SortedArraySet<LodBufferContainer> bufferContainers,
IProfilerWrapper profiler);
int getVertexSize();
@Deprecated // TODO put somewhere else
int getVertexByteSize();
// TODO should these go somewhere else?
void applyToMcTexture();
void clearDepth();
void clearColor();