Enum Class EmptyVertexConsumer
- All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer, KLibVertexConsumer, VertexCallback, Serializable, Comparable<EmptyVertexConsumer>, Constable, net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
public enum EmptyVertexConsumer
extends Enum<EmptyVertexConsumer>
implements com.mojang.blaze3d.vertex.VertexConsumer
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.blaze3d.vertex.VertexConsumeraddVertex(float x, float y, float z) voidaddVertex(float x, float y, float z, int color, float u, float v, int packedOverlay, int packedLight, float normalX, float normalY, float normalZ) voidputBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad quad, float[] brightness, float red, float green, float blue, float alpha, int[] lightmap, int packedOverlay, boolean readExistingColor) voidputBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad quad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay) voidputBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor) com.mojang.blaze3d.vertex.VertexConsumersetColor(int color) com.mojang.blaze3d.vertex.VertexConsumersetColor(int red, int green, int blue, int alpha) com.mojang.blaze3d.vertex.VertexConsumersetLineWidth(float width) com.mojang.blaze3d.vertex.VertexConsumersetNormal(float normalX, float normalY, float normalZ) com.mojang.blaze3d.vertex.VertexConsumersetUv(float u, float v) com.mojang.blaze3d.vertex.VertexConsumersetUv1(int u, int v) com.mojang.blaze3d.vertex.VertexConsumersetUv2(int u, int v) static EmptyVertexConsumerReturns the enum constant of this class with the specified name.static EmptyVertexConsumer[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
applyBakedNormals, misc, putMutableQuadMethods inherited from interface KLibVertexConsumer
acceptCol, acceptLight, acceptLineWidth, acceptNormal, acceptOverlay, acceptPos, acceptTexMethods inherited from interface VertexCallback
line, line, line, line, onlyPos, onlyPosCol, onlyPosColNormal, onlyPosColTex, onlyPosColTexNormal, onlyPosTex, quad, withColor, withLight, withLineWidth, withNormal, withOverlay, withTex, withTransformedNormals, withTransformedPositions, withTransformedPositionsAndNormalsMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
addVertex, addVertex, addVertex, addVertex, addVertexWith2DPose, putBakedQuad, putBlockBakedQuad, setColor, setLight, setNormal, setNormal, setOverlay
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
addVertex
public com.mojang.blaze3d.vertex.VertexConsumer addVertex(float x, float y, float z) - Specified by:
addVertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setColor
public com.mojang.blaze3d.vertex.VertexConsumer setColor(int red, int green, int blue, int alpha) - Specified by:
setColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setColor
public com.mojang.blaze3d.vertex.VertexConsumer setColor(int color) - Specified by:
setColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv
public com.mojang.blaze3d.vertex.VertexConsumer setUv(float u, float v) - Specified by:
setUvin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv1
public com.mojang.blaze3d.vertex.VertexConsumer setUv1(int u, int v) - Specified by:
setUv1in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv2
public com.mojang.blaze3d.vertex.VertexConsumer setUv2(int u, int v) - Specified by:
setUv2in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setNormal
public com.mojang.blaze3d.vertex.VertexConsumer setNormal(float normalX, float normalY, float normalZ) - Specified by:
setNormalin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setLineWidth
public com.mojang.blaze3d.vertex.VertexConsumer setLineWidth(float width) - Specified by:
setLineWidthin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
addVertex
public void addVertex(float x, float y, float z, int color, float u, float v, int packedOverlay, int packedLight, float normalX, float normalY, float normalZ) - Specified by:
addVertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
putBulkData
public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad quad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay) -
putBulkData
public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor) -
putBulkData
public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad quad, float[] brightness, float red, float green, float blue, float alpha, int[] lightmap, int packedOverlay, boolean readExistingColor)
-