net.minecraft.client.texture

public class SpriteContents$Animator

implements AutoCloseable

net.minecraft.client.renderer.texture.SpriteContents$AnimationState
net.minecraft.class_7764$class_12298
net.minecraft.client.texture.SpriteContents$Animator

Field summary

Modifier and TypeField
private int
frame
field_64236
frame
private int
subFrame
field_64237
elapsedTimeInFrame
private final SpriteContents$Animation
animationInfo
field_64238
animation
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GpuTextureView>
frameTexturesByIndex
field_64239
textureViewsByFrame
private final GpuBufferSlice[]
spriteUbosByMip
field_64240
animationInfosByFrame
private boolean
isDirty
field_64241
changedFrame

Constructor summary

ModifierConstructor
private (SpriteContents$Animation this$0, it.unimi.dsi.fastutil.ints.Int2ObjectMap<GpuTextureView> animation, GpuBufferSlice[] textureViewsByFrame)

Method summary

Modifier and TypeMethod
public void
tick()
method_76307()
tick()
public GpuBufferSlice
getDrawUbo(int level)
method_76308(int arg0)
getBufferSlice(int frame)
public boolean
needsToDraw()
method_76310()
isDirty()
public void
drawToAtlas(RenderPass renderPass, GpuBufferSlice ubo)
method_76309(RenderPass arg0, GpuBufferSlice arg1)
upload(RenderPass renderPass, GpuBufferSlice bufferSlice)
public void
close()