net.minecraft.client.renderer.texture

public class SpriteContents$AnimationState

implements AutoCloseable

ilk$b
net.minecraft.client.renderer.texture.SpriteContents$AnimationState
net.minecraft.class_7764$class_12298
net.minecraft.client.texture.SpriteContents$Animator
net.minecraft.src.C_243582_$C_432642_

字段概要

修饰符与类型字段
private int
a
frame
field_64236
frame
f_435327_
private int
b
subFrame
field_64237
elapsedTimeInFrame
f_436628_
private final SpriteContents$AnimatedTexture
c
animationInfo
field_64238
animation
f_437277_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GpuTextureView>
d
frameTexturesByIndex
field_64239
textureViewsByFrame
f_434415_
private final GpuBufferSlice[]
e
spriteUbosByMip
field_64240
animationInfosByFrame
f_435344_
private boolean
f
isDirty
field_64241
changedFrame
f_434369_

构造函数概要

修饰符构造函数
(SpriteContents$AnimatedTexture p_452987_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<GpuTextureView> animation, GpuBufferSlice[] textureViewsByFrame)

方法概要

修饰符与类型方法
public void
a()
tick()
method_76307()
tick()
m_441039_()
public GpuBufferSlice
a(int arg0)
getDrawUbo(int arg0)
method_76308(int arg0)
getBufferSlice(int frame)
m_443825_(int arg0)
public boolean
b()
needsToDraw()
method_76310()
isDirty()
m_446655_()
public void
a(RenderPass arg0, GpuBufferSlice arg1)
drawToAtlas(RenderPass arg0, GpuBufferSlice arg1)
method_76309(RenderPass arg0, GpuBufferSlice arg1)
upload(RenderPass renderPass, GpuBufferSlice bufferSlice)
m_444272_(RenderPass p_456503_, GpuBufferSlice arg1)
public void
close()
close()
close()