com.mojang.blaze3d.platform

public final class NativeImage

implements AutoCloseable

cuj
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 Set<StandardOpenOption>
a
OPEN_OPTIONS
field_4992
WRITE_TO_FILE_OPEN_OPTIONS
field_209272_a
private final NativeImage$Format
b
format
field_4986
format
field_211680_b
private final int
c
width
field_4991
width
field_195719_a
private final int
d
height
field_4989
height
field_195720_b
private final boolean
e
useStbFree
field_4990
isStbImage
field_195721_c
private long
f
pixels
field_4988
pointer
field_195722_d
private final int
g
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(cuj$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(cuj$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
b(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
g()
checkAllocated()
method_4320()
checkAllocated()
func_195696_g()
public void
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)
getPixelRgba(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)
setPixelRgba(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 void
b(int arg0, int arg1, int arg2)
blendPixel(int arg0, int arg1, int arg2)
method_4328(int arg0, int arg1, int arg2)
blendPixel(int x, int y, int radius)
func_195718_b(int arg0, int arg1, int arg2)
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 mipmap)
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)
upload(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7)
method_4312(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7)
upload(int level, int xOffset, int yOffset, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean mipmap)
func_195706_a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7)
public void
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9)
upload(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9)
method_4321(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9)
upload(int level, int xOffset, int yOffset, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean blur, boolean clamp, boolean mipmap)
func_195712_a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8, boolean arg9)
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(boolean arg0)
downloadFrameBuffer(boolean arg0)
method_4306(boolean arg0)
loadFromMemory(boolean removeAlpha)
func_195701_a(boolean arg0)
public void
a(String arg0)
writeToFile(String arg0)
method_15877(String arg0)
writeFile(String fileName)
func_216510_a(String arg0)
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 arg0)
func_209270_a(Path arg0)
public void
a(cuj 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
e()
flipY()
method_4319()
func_195710_e()
public void
a(int arg0, int arg1, int arg2, int arg3, cuj 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
f()
untrack()
method_4302()
untrack()
func_195711_f()
public static NativeImage
b(String arg0)
fromBase64(String arg0)
method_15990(String arg0)
read(String dataUri)
func_216511_b(String arg0)