Interface SuperByteBuffer

All Superinterfaces:
com.jozufozu.flywheel.util.transform.Rotate<SuperByteBuffer>, com.jozufozu.flywheel.util.transform.Scale<SuperByteBuffer>, com.jozufozu.flywheel.util.transform.Transform<SuperByteBuffer>, com.jozufozu.flywheel.util.transform.Translate<SuperByteBuffer>, com.jozufozu.flywheel.util.transform.TStack<SuperByteBuffer>
All Known Implementing Classes:
DefaultSuperByteBuffer, ShadeSpearatingSuperByteBuffer

public interface SuperByteBuffer extends com.jozufozu.flywheel.util.transform.Transform<SuperByteBuffer>, com.jozufozu.flywheel.util.transform.TStack<SuperByteBuffer>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <Self extends SuperByteBuffer>
    Self
    color(int color)
     
    <Self extends SuperByteBuffer>
    Self
    color(int r, int g, int b, int a)
     
    default <Self extends SuperByteBuffer>
    Self
    color(Color color)
     
    default void
     
    <Self extends SuperByteBuffer>
    Self
     
    default <Self extends SuperByteBuffer>
    Self
     
    <Self extends SuperByteBuffer>
    Self
    Transforms normals not only by the local matrix stack, but also by the passed matrix stack.
    com.mojang.blaze3d.vertex.PoseStack
     
    <Self extends SuperByteBuffer>
    Self
    Use max light from calculated light (world light or custom light) and vertex light for the final light value.
    boolean
     
    <Self extends SuperByteBuffer>
    Self
    Indicate that this buffer should look up the light coordinates in the current level.
    <Self extends SuperByteBuffer>
    Self
    light(int packedLight)
     
    <Self extends SuperByteBuffer>
    Self
    light(com.mojang.math.Matrix4f lightTransform)
    Indicate that this buffer should look up the light coordinates in the current level.
    default <Self extends SuperByteBuffer>
    Self
    light(com.mojang.math.Matrix4f lightTransform, int packedLight)
     
    static int
    maxLight(int packedLight1, int packedLight2)
     
    <Self extends SuperByteBuffer>
    Self
     
    <Self extends SuperByteBuffer>
    Self
    overlay(int overlay)
     
    void
    renderInto(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer consumer)
     
    <Self extends SuperByteBuffer>
    Self
     
    default <Self extends SuperByteBuffer>
    Self
    rotate(net.minecraft.core.Direction.Axis axis, float radians)
     
    <Self extends SuperByteBuffer>
    Self
     
    default <Self extends SuperByteBuffer>
    Self
    shiftUVScrolling(SpriteShiftEntry entry, float scrollV)
     
    <Self extends SuperByteBuffer>
    Self
    shiftUVScrolling(SpriteShiftEntry entry, float scrollU, float scrollV)
     
    <Self extends SuperByteBuffer>
    Self
    shiftUVtoSheet(SpriteShiftEntry entry, float uTarget, float vTarget, int sheetSize)
     

    Methods inherited from interface com.jozufozu.flywheel.util.transform.Rotate

    multiply, multiply, multiplyRadians, rotate, rotate, rotateToFace, rotateX, rotateXRadians, rotateY, rotateYRadians, rotateZ, rotateZRadians

    Methods inherited from interface com.jozufozu.flywheel.util.transform.Scale

    scale, scale

    Methods inherited from interface com.jozufozu.flywheel.util.transform.Transform

    mulNormal, mulPose, rotateCentered, rotateCentered, transform, transform

    Methods inherited from interface com.jozufozu.flywheel.util.transform.Translate

    centre, nudge, translate, translate, translate, translate, translateAll, translateBack, translateBack, translateBack, translateX, translateY, translateZ, unCentre

    Methods inherited from interface com.jozufozu.flywheel.util.transform.TStack

    popPose, pushPose
  • Method Details

    • maxLight

      static int maxLight(int packedLight1, int packedLight2)
    • renderInto

      void renderInto(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer consumer)
    • isEmpty

      boolean isEmpty()
    • getTransforms

      com.mojang.blaze3d.vertex.PoseStack getTransforms()
    • reset

      <Self extends SuperByteBuffer> Self reset()
    • color

      <Self extends SuperByteBuffer> Self color(int color)
    • color

      <Self extends SuperByteBuffer> Self color(int r, int g, int b, int a)
    • disableDiffuse

      <Self extends SuperByteBuffer> Self disableDiffuse()
    • shiftUV

      <Self extends SuperByteBuffer> Self shiftUV(SpriteShiftEntry entry)
    • shiftUVScrolling

      <Self extends SuperByteBuffer> Self shiftUVScrolling(SpriteShiftEntry entry, float scrollU, float scrollV)
    • shiftUVtoSheet

      <Self extends SuperByteBuffer> Self shiftUVtoSheet(SpriteShiftEntry entry, float uTarget, float vTarget, int sheetSize)
    • overlay

      <Self extends SuperByteBuffer> Self overlay()
    • overlay

      <Self extends SuperByteBuffer> Self overlay(int overlay)
    • light

      <Self extends SuperByteBuffer> Self light()
      Indicate that this buffer should look up the light coordinates in the current level.
    • light

      <Self extends SuperByteBuffer> Self light(com.mojang.math.Matrix4f lightTransform)
      Indicate that this buffer should look up the light coordinates in the current level. Light Positions will be transformed by the passed Matrix before the lookup.
    • light

      <Self extends SuperByteBuffer> Self light(int packedLight)
    • hybridLight

      <Self extends SuperByteBuffer> Self hybridLight()
      Use max light from calculated light (world light or custom light) and vertex light for the final light value. Ineffective if no other light method was called.
    • fullNormalTransform

      <Self extends SuperByteBuffer> Self fullNormalTransform()
      Transforms normals not only by the local matrix stack, but also by the passed matrix stack.
    • delete

      default void delete()
    • rotate

      default <Self extends SuperByteBuffer> Self rotate(net.minecraft.core.Direction.Axis axis, float radians)
    • light

      default <Self extends SuperByteBuffer> Self light(com.mojang.math.Matrix4f lightTransform, int packedLight)
    • color

      default <Self extends SuperByteBuffer> Self color(Color color)
    • shiftUVScrolling

      default <Self extends SuperByteBuffer> Self shiftUVScrolling(SpriteShiftEntry entry, float scrollV)
    • forEntityRender

      default <Self extends SuperByteBuffer> Self forEntityRender()