Class DefaultSuperByteBuffer

java.lang.Object
net.createmod.catnip.render.DefaultSuperByteBuffer
All Implemented Interfaces:
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>, SuperByteBuffer

public class DefaultSuperByteBuffer extends Object implements SuperByteBuffer
  • Field Details

    • template

      protected ByteBuffer template
    • formatSize

      protected int formatSize
    • transforms

      protected com.mojang.blaze3d.vertex.PoseStack transforms
    • shouldColor

      protected boolean shouldColor
    • r

      protected int r
    • g

      protected int g
    • b

      protected int b
    • a

      protected int a
    • disableDiffuse

      protected boolean disableDiffuse
    • spriteShiftFunc

      @Nullable protected SuperByteBuffer.SpriteShiftFunc spriteShiftFunc
    • hasOverlay

      protected boolean hasOverlay
    • overlay

      protected int overlay
    • useWorldLight

      protected boolean useWorldLight
    • lightTransform

      @Nullable protected com.mojang.math.Matrix4f lightTransform
    • hasCustomLight

      protected boolean hasCustomLight
    • packedLightCoordinates

      protected int packedLightCoordinates
    • hybridLight

      protected boolean hybridLight
    • fullNormalTransform

      protected boolean fullNormalTransform
    • WORLD_LIGHT_CACHE

      protected static final it.unimi.dsi.fastutil.longs.Long2IntMap WORLD_LIGHT_CACHE
  • Constructor Details

    • DefaultSuperByteBuffer

      public DefaultSuperByteBuffer(com.mojang.blaze3d.vertex.BufferBuilder.RenderedBuffer renderedBuffer)
  • Method Details