com.mojang.blaze3d.platform

public final class NativeImage

implements AutoCloseable

det
com.mojang.blaze3d.platform.NativeImage
net.minecraft.class_1011
net.minecraft.client.texture.NativeImage
net.minecraft.client.renderer.texture.NativeImage

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_21684
LOGGER
field_227785_a_
private static final Set<StandardOpenOption>
b
OPEN_OPTIONS
field_4992
WRITE_TO_FILE_OPEN_OPTIONS
field_209272_a
private final NativeImage$Format
c
format
field_4986
format
field_211680_b
private final int
d
width
field_4991
width
field_195719_a
private final int
e
height
field_4989
height
field_195720_b
private final boolean
f
useStbFree
field_4990
isStbImage
field_195721_c
private long
g
pixels
field_4988
pointer
field_195722_d
private final long
h
size
field_4987
sizeBytes
field_195723_e

Constructor summary

ModifierConstructor
public (int width, int height, boolean useStb)
public (NativeImage$Format format, int width, int height, boolean useStb)
private (NativeImage$Format format, int width, int height, boolean useStb, long pointer)

Method summary

Modifier and TypeMethod
public static NativeImage
a(InputStream arg0)
read(InputStream arg0)
method_4309(InputStream arg0)
read(InputStream arg0)
func_195713_a(InputStream arg0)
public static NativeImage
a(det$a arg0, InputStream arg1)
read(NativeImage$Format arg0, InputStream arg1)
method_4310(class_1011$class_1012 arg0, InputStream arg1)
read(NativeImage$Format arg0, InputStream arg1)
func_211679_a(NativeImage$PixelFormat arg0, InputStream arg1)
public static NativeImage
a(ByteBuffer arg0)
read(ByteBuffer arg0)
method_4324(ByteBuffer arg0)
read(ByteBuffer arg0)
func_195704_a(ByteBuffer arg0)
public static NativeImage
a(det$a arg0, ByteBuffer arg1)
read(NativeImage$Format arg0, ByteBuffer arg1)
method_4303(class_1011$class_1012 arg0, ByteBuffer arg1)
read(NativeImage$Format arg0, ByteBuffer arg1)
func_211677_a(NativeImage$PixelFormat arg0, ByteBuffer arg1)
private static void
a(boolean arg0)
setClamp(boolean arg0)
method_4313(boolean arg0)
setTextureClamp(boolean clamp)
func_195707_b(boolean arg0)
private static void
a(boolean arg0, boolean arg1)
setFilter(boolean arg0, boolean arg1)
method_4308(boolean arg0, boolean arg1)
setTextureFilter(boolean blur, boolean mipmap)
func_195705_a(boolean arg0, boolean arg1)
private void
h()
checkAllocated()
method_4320()
checkAllocated()
func_195696_g()
public void
close()
close()
close()
close()
close()
public int
a()
getWidth()
method_4307()
getWidth()
func_195702_a()
public int
b()
getHeight()
method_4323()
getHeight()
func_195714_b()
public NativeImage$Format
c()
format()
method_4318()
getFormat()
func_211678_c()
public int
a(int arg0, int arg1)
getPixelRGBA(int arg0, int arg1)
method_4315(int arg0, int arg1)
getPixelColor(int x, int y)
func_195709_a(int arg0, int arg1)
public void
a(int arg0, int arg1, int arg2)
setPixelRGBA(int arg0, int arg1, int arg2)
method_4305(int arg0, int arg1, int arg2)
setPixelColor(int x, int y, int color)
func_195700_a(int arg0, int arg1, int arg2)
public byte
b(int arg0, int arg1)
getLuminanceOrAlpha(int arg0, int arg1)
method_4311(int arg0, int arg1)
getPixelOpacity(int x, int y)
func_211675_e(int arg0, int arg1)
public int[]
d()
makePixelArray()
method_4322()
makePixelArray()
func_195716_c()
public void
a(int arg0, int arg1, int arg2, boolean arg3)
upload(int arg0, int arg1, int arg2, boolean arg3)
method_4301(int arg0, int arg1, int arg2, boolean arg3)
upload(int level, int offsetX, int offsetY, boolean close)
func_195697_a(int arg0, int arg1, int arg2, boolean arg3)
public void
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
upload(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
method_4312(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
upload(int level, int offsetX, int offsetY, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean mipmap, boolean close)
func_227788_a_(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
public void
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
upload(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
method_22619(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
upload(int level, int offsetX, int offsetY, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean blur, boolean clamp, boolean mipmap, boolean close)
func_227789_a_(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
private void
b(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
_upload(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
method_4321(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
uploadInternal(int level, int offsetX, int offsetY, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean blur, boolean clamp, boolean mipmap, boolean close)
func_227792_b_(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10)
public void
a(int arg0, boolean arg1)
downloadTexture(int arg0, boolean arg1)
method_4327(int arg0, boolean arg1)
loadFromTextureImage(int level, boolean removeAlpha)
func_195717_a(int arg0, boolean arg1)
public void
a(File arg0)
writeToFile(File arg0)
method_4325(File arg0)
writeFile(File arg0)
func_209271_a(File arg0)
public void
a(org.lwjgl.stb.STBTTFontinfo arg0, int arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7, int arg8, int arg9)
copyFromFont(org.lwjgl.stb.STBTTFontinfo arg0, int arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7, int arg8, int arg9)
method_4316(org.lwjgl.stb.STBTTFontinfo arg0, int arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7, int arg8, int arg9)
makeGlyphBitmapSubpixel(org.lwjgl.stb.STBTTFontinfo fontInfo, int glyphIndex, int width, int height, float scaleX, float scaleY, float shiftX, float shiftY, int startX, int startY)
func_211676_a(org.lwjgl.stb.STBTTFontinfo arg0, int arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7, int arg8, int arg9)
public void
a(Path arg0)
writeToFile(Path arg0)
method_4314(Path arg0)
writeFile(Path path)
func_209270_a(Path arg0)
public byte[]
e()
asByteArray()
method_24036()
getBytes()
func_227796_e_()
private boolean
a(WritableByteChannel arg0)
writeToChannel(WritableByteChannel arg0)
method_24032(WritableByteChannel arg0)
write(WritableByteChannel arg0)
func_227790_a_(WritableByteChannel arg0)
public void
a(det arg0)
copyFrom(NativeImage arg0)
method_4317(class_1011 arg0)
copyFrom(NativeImage image)
func_195703_a(NativeImage arg0)
public void
a(int arg0, int arg1, int arg2, int arg3, int arg4)
fillRect(int arg0, int arg1, int arg2, int arg3, int arg4)
method_4326(int arg0, int arg1, int arg2, int arg3, int arg4)
fillRect(int x, int y, int width, int height, int color)
func_195715_a(int arg0, int arg1, int arg2, int arg3, int arg4)
public void
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6, boolean arg7)
copyRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6, boolean arg7)
method_4304(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6, boolean arg7)
copyRect(int x, int y, int translateX, int translateY, int width, int height, boolean flipX, boolean flipY)
func_195699_a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6, boolean arg7)
public void
f()
flipY()
method_4319()
mirrorVertically()
func_195710_e()
public void
a(int arg0, int arg1, int arg2, int arg3, det arg4)
resizeSubRectTo(int arg0, int arg1, int arg2, int arg3, NativeImage arg4)
method_4300(int arg0, int arg1, int arg2, int arg3, class_1011 arg4)
resizeSubRectTo(int x, int y, int width, int height, NativeImage targetImage)
func_195708_a(int arg0, int arg1, int arg2, int arg3, NativeImage arg4)
public void
g()
untrack()
method_4302()
untrack()
func_195711_f()
public static NativeImage
a(String arg0)
fromBase64(String arg0)
method_15990(String arg0)
read(String dataUri)
func_216511_b(String arg0)
public static int
a(int arg0)
getA(int arg0)
method_24030(int arg0)
getAlpha(int color)
func_227786_a_(int arg0)
public static int
b(int arg0)
getR(int arg0)
method_24033(int arg0)
getRed(int color)
func_227791_b_(int arg0)
public static int
c(int arg0)
getG(int arg0)
method_24034(int arg0)
getGreen(int color)
func_227793_c_(int arg0)
public static int
d(int arg0)
getB(int arg0)
method_24035(int arg0)
getBlue(int color)
func_227795_d_(int arg0)
public static int
a(int arg0, int arg1, int arg2, int arg3)
combine(int arg0, int arg1, int arg2, int arg3)
method_24031(int arg0, int arg1, int arg2, int arg3)
getAbgrColor(int alpha, int blue, int green, int red)
func_227787_a_(int arg0, int arg1, int arg2, int arg3)