Interface DelegateVertexConsumer

All Superinterfaces:
net.neoforged.neoforge.client.extensions.IVertexConsumerExtension, KLibVertexConsumer, VertexCallback, com.mojang.blaze3d.vertex.VertexConsumer
All Known Implementing Classes:
LineWidthConsumer, PosColTexLightVertexConsumer, PosColTexVertexConsumer, PosColVertexConsumer, PosVertexConsumer

public interface DelegateVertexConsumer extends com.mojang.blaze3d.vertex.VertexConsumer
  • Method Details

    • delegate

      com.mojang.blaze3d.vertex.VertexConsumer delegate()
    • addVertex

      default com.mojang.blaze3d.vertex.VertexConsumer addVertex(float x, float y, float z)
      Specified by:
      addVertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setColor

      default com.mojang.blaze3d.vertex.VertexConsumer setColor(int red, int green, int blue, int alpha)
      Specified by:
      setColor in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setColor

      default com.mojang.blaze3d.vertex.VertexConsumer setColor(int color)
      Specified by:
      setColor in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setUv

      default com.mojang.blaze3d.vertex.VertexConsumer setUv(float u, float v)
      Specified by:
      setUv in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setUv1

      default com.mojang.blaze3d.vertex.VertexConsumer setUv1(int u, int v)
      Specified by:
      setUv1 in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setUv2

      default com.mojang.blaze3d.vertex.VertexConsumer setUv2(int u, int v)
      Specified by:
      setUv2 in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setNormal

      default com.mojang.blaze3d.vertex.VertexConsumer setNormal(float nx, float ny, float nz)
      Specified by:
      setNormal in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setLineWidth

      default com.mojang.blaze3d.vertex.VertexConsumer setLineWidth(float width)
      Specified by:
      setLineWidth in interface com.mojang.blaze3d.vertex.VertexConsumer