Class LODStrategy<T>
java.lang.Object
team.lodestar.lodestone.systems.model.obj.lod.LODStrategy<T>
- Type Parameters:
T- The type of argument that the LODStrategy uses to determine the level of detail.
- All Implemented Interfaces:
LODBuilder<T>
An LODStrategy or Level of Detail Strategy is a class containing the logic for determining which level of detail to use for a given
ObjModel.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LODStrategy<Float> Distance(Consumer<LODBuilder<Float>> lodBuilder) abstract LevelOfDetail<T> getLODLevel(com.mojang.blaze3d.vertex.PoseStack poseStack) static LODStrategy<net.minecraft.client.GraphicsStatus> Graphics(Consumer<LODBuilder<net.minecraft.client.GraphicsStatus>> lodBuilder) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface team.lodestar.lodestone.systems.model.obj.lod.LODBuilder
create
-
Field Details
-
levelsOfDetail
-
-
Constructor Details
-
LODStrategy
-
-
Method Details
-
getLODLevel
-
getDefaultLOD
-
Distance
-
Graphics
public static LODStrategy<net.minecraft.client.GraphicsStatus> Graphics(Consumer<LODBuilder<net.minecraft.client.GraphicsStatus>> lodBuilder)
-