yarn/mappings/net/minecraft/client/texture/TextureUtil.mapping

39 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-03-31 14:47:17 -04:00
CLASS com/mojang/blaze3d/platform/TextureUtil net/minecraft/client/texture/TextureUtil
METHOD bind (I)V
ARG 0 id
2021-03-31 14:47:17 -04:00
METHOD generateTextureId generateId ()I
METHOD initTexture uploadImage (Ljava/nio/IntBuffer;II)V
COMMENT Uploads {@code imageData} to the bound texture.
COMMENT Each integer is interpreted as 0xAARRGGBB.
ARG 0 imageData
ARG 1 width
ARG 2 height
METHOD prepareImage allocate (III)V
ARG 0 id
ARG 1 width
ARG 2 height
2021-03-31 14:47:17 -04:00
METHOD prepareImage allocate (IIII)V
ARG 0 id
ARG 1 maxLevel
ARG 2 width
ARG 3 height
2021-03-31 14:47:17 -04:00
METHOD prepareImage allocate (Lnet/minecraft/class_1011$class_1013;III)V
ARG 0 internalFormat
ARG 1 id
ARG 2 width
ARG 3 height
2021-03-31 14:47:17 -04:00
METHOD prepareImage allocate (Lnet/minecraft/class_1011$class_1013;IIII)V
COMMENT Allocate uninitialized backing memory for {@code maxLevel+1}
COMMENT mip levels to texture {@code id}.
ARG 0 internalFormat
ARG 1 id
ARG 2 maxLevel
ARG 3 width
ARG 4 height
2021-03-31 14:47:17 -04:00
METHOD readResource readAllToByteBuffer (Ljava/io/InputStream;)Ljava/nio/ByteBuffer;
ARG 0 inputStream
2021-03-31 14:47:17 -04:00
METHOD readResourceAsString readAllToString (Ljava/io/InputStream;)Ljava/lang/String;
ARG 0 inputStream
2021-03-31 14:47:17 -04:00
METHOD releaseTextureId deleteId (I)V
ARG 0 id