GuiItemAtlas.java
net.minecraft.client.gui.render.GuiItemAtlas
信息
- 全限定名:net.minecraft.client.gui.render.GuiItemAtlas
- 类型:public class
- 包:net.minecraft.client.gui.render
- 源码路径:src/main/java/net/minecraft/client/gui/render/GuiItemAtlas.java
- 起始行号:L27
- 实现:AutoCloseable
- 职责:
TODO
字段/常量
-
MINIMUM_TEXTURE_SIZE- 类型:
int - 修饰符:
private static final - 源码定位:
L28 - 说明:
TODO
- 类型:
-
MAXIMUM_TEXTURE_SIZE- 类型:
int - 修饰符:
private static final - 源码定位:
L29 - 说明:
TODO
- 类型:
-
submitNodeCollector- 类型:
SubmitNodeCollector - 修饰符:
private final - 源码定位:
L30 - 说明:
TODO
- 类型:
-
featureRenderDispatcher- 类型:
FeatureRenderDispatcher - 修饰符:
private final - 源码定位:
L31 - 说明:
TODO
- 类型:
-
bufferSource- 类型:
MultiBufferSource.BufferSource - 修饰符:
private final - 源码定位:
L32 - 说明:
TODO
- 类型:
-
textureSize- 类型:
int - 修饰符:
private final - 源码定位:
L33 - 说明:
TODO
- 类型:
-
slotTextureSize- 类型:
int - 修饰符:
private final - 源码定位:
L34 - 说明:
TODO
- 类型:
-
texture- 类型:
GpuTexture - 修饰符:
private final - 源码定位:
L35 - 说明:
TODO
- 类型:
-
textureView- 类型:
GpuTextureView - 修饰符:
private final - 源码定位:
L36 - 说明:
TODO
- 类型:
-
depthTexture- 类型:
GpuTexture - 修饰符:
private final - 源码定位:
L37 - 说明:
TODO
- 类型:
-
depthTextureView- 类型:
GpuTextureView - 修饰符:
private final - 源码定位:
L38 - 说明:
TODO
- 类型:
-
allocator- 类型:
DynamicAtlasAllocator<Object> - 修饰符:
private final - 源码定位:
L39 - 说明:
TODO
- 类型:
-
poseStack- 类型:
PoseStack - 修饰符:
private final - 源码定位:
L40 - 说明:
TODO
- 类型:
-
projection- 类型:
Projection - 修饰符:
private final - 源码定位:
L41 - 说明:
TODO
- 类型:
-
projectionMatrixBuffer- 类型:
ProjectionMatrixBuffer - 修饰符:
private final - 源码定位:
L42 - 说明:
TODO
- 类型:
内部类/嵌套类型
net.minecraft.client.gui.render.GuiItemAtlas.SlotView- 类型:
record - 修饰符:
public - 源码定位:
L146 - 说明:
TODO
- 类型:
构造器
public GuiItemAtlas(SubmitNodeCollector submitNodeCollector, FeatureRenderDispatcher featureRenderDispatcher, MultiBufferSource.BufferSource bufferSource, int textureSize, int slotTextureSize) @ L44
- 构造器名:GuiItemAtlas
- 源码定位:L44
- 修饰符:public
参数:
- submitNodeCollector: SubmitNodeCollector
- featureRenderDispatcher: FeatureRenderDispatcher
- bufferSource: MultiBufferSource.BufferSource
- textureSize: int
- slotTextureSize: int
说明:
TODO
方法
下面的方法块按源码顺序生成。
public static int computeTextureSizeFor(int slotTextureSize, int requiredSlotCount) @ L66
- 方法名:computeTextureSizeFor
- 源码定位:L66
- 返回类型:int
- 修饰符:public static
参数:
- slotTextureSize: int
- requiredSlotCount: int
说明:
TODO
public void endFrame() @ L72
- 方法名:endFrame
- 源码定位:L72
- 返回类型:void
- 修饰符:public
参数:
- 无
说明:
TODO
public boolean tryPrepareFor(Set<Object> items) @ L76
- 方法名:tryPrepareFor
- 源码定位:L76
- 返回类型:boolean
- 修饰符:public
参数:
- items: Set