类 CachedFormat
java.lang.Object
committee.nova.mods.avaritia.api.client.model.CachedFormat
A simple VertexFormat cache.
This caches the existence of attributes and their indexes.
-
字段概要
字段修饰符和类型字段说明static final CachedFormatfinal intfinal intfinal com.mojang.blaze3d.vertex.VertexFormatfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal intfinal intfinal intfinal intfinal int -
方法概要
修饰符和类型方法说明booleaninthashCode()static CachedFormatlookup(com.mojang.blaze3d.vertex.VertexFormat format) Lookup or create the CachedFormat for a given VertexFormat.
-
字段详细资料
-
BLOCK
-
format
public final com.mojang.blaze3d.vertex.VertexFormat format -
hasPosition
public final boolean hasPosition -
hasNormal
public final boolean hasNormal -
hasColor
public final boolean hasColor -
hasUV
public final boolean hasUV -
hasOverlay
public final boolean hasOverlay -
hasLightMap
public final boolean hasLightMap -
positionIndex
public final int positionIndex -
normalIndex
public final int normalIndex -
colorIndex
public final int colorIndex -
uvIndex
public final int uvIndex -
overlayIndex
public final int overlayIndex -
lightMapIndex
public final int lightMapIndex -
elementCount
public final int elementCount
-
-
方法详细资料