com.mojang.blaze3d.platform

public final class NativeImage

implements AutoCloseable

ffs
com.mojang.blaze3d.platform.NativeImage
net.minecraft.class_1011
net.minecraft.unmapped.C_ayikuhxa
net.minecraft.client.texture.NativeImage
com.mojang.blaze3d.texture.NativeImage
net.minecraft.src.C_3148_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_21684
f_qujwkxcf
LOGGER
LOGGER
f_84958_
private static final com.mojang.jtracy.MemoryPool
b
MEMORY_POOL
field_54265
f_ikfzqzch
MEMORY_POOL
f_347375_
private static final Set<StandardOpenOption>
c
OPEN_OPTIONS
field_4992
f_dppjrltv
WRITE_TO_FILE_OPEN_OPTIONS
WRITE_TO_FILE_OPEN_OPTIONS
f_84959_
private final NativeImage$Format
d
format
field_4986
f_lgjuiwho
format
format
f_84960_
private final int
e
width
field_4991
f_bjmzebre
width
width
f_84961_
private final int
f
height
field_4989
f_pkisvsec
height
height
f_84962_
private final boolean
g
useStbFree
field_4990
f_efhfycrj
isStbImage
isStbImage
f_84963_
private long
h
pixels
field_4988
f_fquwrzbn
pointer
pointer
f_84964_
private final long
i
size
field_4987
f_heggcezm
sizeBytes
sizeBytes
f_84965_

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
private boolean
c(int arg0, int arg1)
isOutsideBounds(int arg0, int arg1)
method_36559(int arg0, int arg1)
m_lwuuexce(int arg0, int arg1)
isOutOfBounds(int x, int y)
isOutOfBounds(int x, int y)
m_166422_(int p_166424_, int arg1)
public static NativeImage
a(InputStream arg0)
read(InputStream arg0)
method_4309(InputStream arg0)
m_mtdfbkkq(InputStream arg0)
read(InputStream stream)
read(InputStream input)
m_85058_(InputStream p_85059_)
public static NativeImage
a(ffs$a arg0, InputStream arg1)
read(NativeImage$Format arg0, InputStream arg1)
method_4310(class_1011$class_1012 arg0, InputStream arg1)
m_pmafqlsa(C_ayikuhxa$C_pfzicqtf arg0, InputStream arg1)
read(NativeImage$Format format, InputStream stream)
read(NativeImage$Format format, InputStream input)
m_85048_(C_3148_$C_3150_ p_85049_, InputStream p_85050_)
public static NativeImage
a(ByteBuffer arg0)
read(ByteBuffer arg0)
method_4324(ByteBuffer arg0)
m_meplyfkd(ByteBuffer arg0)
read(ByteBuffer buffer)
read(ByteBuffer input)
m_85062_(ByteBuffer p_85063_)
public static NativeImage
a(byte[] arg0)
read(byte[] arg0)
method_49277(byte[] arg0)
m_yellsqcy(byte[] arg0)
read(byte[] bytes)
read(byte[] input)
m_271751_(byte[] p_273041_)
public static NativeImage
a(ffs$a arg0, ByteBuffer arg1)
read(NativeImage$Format arg0, ByteBuffer arg1)
method_4303(class_1011$class_1012 arg0, ByteBuffer arg1)
m_pmrtzukt(C_ayikuhxa$C_pfzicqtf arg0, ByteBuffer arg1)
read(NativeImage$Format format, ByteBuffer buffer)
read(NativeImage$Format format, ByteBuffer input)
m_85051_(C_3148_$C_3150_ p_85052_, ByteBuffer p_85053_)
private static void
a(boolean arg0, boolean arg1)
setFilter(boolean arg0, boolean arg1)
method_4308(boolean arg0, boolean arg1)
m_ayyycohu(boolean arg0, boolean arg1)
setTextureFilter(boolean blur, boolean mipmap)
setTextureFilter(boolean blur, boolean mipmap)
m_85081_(boolean p_85082_, boolean p_85083_)
private void
j()
checkAllocated()
method_4320()
m_obmuolrt()
checkAllocated()
checkAllocated()
m_85124_()
public void
close()
close()
close()
public int
a()
getWidth()
method_4307()
m_fctnexbk()
getWidth()
getWidth()
m_84982_()
public int
b()
getHeight()
method_4323()
m_xqjgvqoz()
getHeight()
getHeight()
m_85084_()
public NativeImage$Format
c()
format()
method_4318()
m_rbxodptg()
getFormat()
getFormat()
m_85102_()
private int
d(int arg0, int arg1)
getPixelABGR(int arg0, int arg1)
method_4315(int arg0, int arg1)
m_ktpmragg(int arg0, int arg1)
getColor(int x, int y)
m_354021_(int p_368577_, int arg1)
public int
a(int arg0, int arg1)
getPixel(int arg0, int arg1)
method_61940(int arg0, int arg1)
m_hulsskdn(int arg0, int arg1)
getColorArgb(int x, int y)
m_352958_(int p_364265_, int arg1)
private void
b(int arg0, int arg1, int arg2)
setPixelABGR(int arg0, int arg1, int arg2)
method_4305(int arg0, int arg1, int arg2)
m_prewnwii(int arg0, int arg1, int arg2)
setColor(int x, int y, int color)
m_356256_(int p_360988_, int p_364498_, int arg2)
public void
a(int arg0, int arg1, int arg2)
setPixel(int arg0, int arg1, int arg2)
method_61941(int arg0, int arg1, int arg2)
m_qijvlzoc(int arg0, int arg1, int arg2)
setColorArgb(int x, int y, int color)
m_qijvlzoc(int arg0, int arg1, int argb)
m_355487_(int p_368505_, int p_361991_, int arg2)
public NativeImage
a(IntUnaryOperator arg0)
mappedCopy(IntUnaryOperator arg0)
method_48462(IntUnaryOperator arg0)
m_tgbwsswh(IntUnaryOperator arg0)
applyToCopy(IntUnaryOperator operator)
applyFunctionPerPixel(IntUnaryOperator function)
m_266528_(IntUnaryOperator arg0)
public void
b(IntUnaryOperator arg0)
applyToAllPixels(IntUnaryOperator arg0)
method_51596(IntUnaryOperator arg0)
m_jwryptwt(IntUnaryOperator arg0)
apply(IntUnaryOperator operator)
applyFunction(IntUnaryOperator function)
m_284481_(IntUnaryOperator arg0)
public int[]
d()
getPixelsABGR()
method_48463()
m_ggmcsoje()
copyPixelsAbgr()
m_266370_()
public int[]
e()
getPixels()
method_61942()
m_rbgyhlxa()
copyPixelsArgb()
m_352255_()
public byte
b(int arg0, int arg1)
getLuminanceOrAlpha(int arg0, int arg1)
method_4311(int arg0, int arg1)
m_albcwptm(int arg0, int arg1)
getOpacity(int x, int y)
getPixelOpacity(int x, int y)
m_85087_(int p_85089_, int arg1)
public int[]
f()
makePixelArray()
method_4322()
m_jamgysmq()
makePixelArray()
makePixelArray()
m_85118_()
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)
m_tqikshlo(int arg0, int arg1, int arg2, boolean arg3)
upload(int level, int offsetX, int offsetY, boolean close)
upload(int level, int offsetX, int offsetY, boolean close)
m_85040_(int p_85042_, int p_85043_, int p_85044_, 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)
m_iwimness(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)
upload(int level, int offsetX, int offsetY, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean mipmap, boolean close)
m_85003_(int p_85005_, int p_85006_, int p_85007_, int p_85008_, int p_85009_, int p_85010_, int p_85011_, boolean p_85012_, 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)
m_llctgsaf(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)
upload(int level, int offsetX, int offsetY, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean blur, boolean clamp, boolean mipmap, boolean close)
m_85013_(int p_85015_, int p_85016_, int p_85017_, int p_85018_, int p_85019_, int p_85020_, int p_85021_, boolean p_85022_, boolean p_85023_, boolean p_85024_, 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)
m_hqirglgj(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)
uploadInternal(int level, int offsetX, int offsetY, int unpackSkipPixels, int unpackSkipRows, int width, int height, boolean blur, boolean clamp, boolean mipmap, boolean close)
m_85090_(int p_85092_, int p_85093_, int p_85094_, int p_85095_, int p_85096_, int p_85097_, int p_85098_, boolean p_85099_, boolean p_85100_, boolean p_85101_, boolean arg10)
public void
a(int arg0, boolean arg1)
downloadTexture(int arg0, boolean arg1)
method_4327(int arg0, boolean arg1)
m_nseursry(int arg0, boolean arg1)
loadFromTextureImage(int level, boolean removeAlpha)
loadFromTextureImage(int level, boolean removeAlpha)
m_85045_(int p_85047_, boolean arg1)
public void
a(float arg0)
downloadDepthBuffer(float arg0)
method_35620(float arg0)
m_ducdocgr(float arg0)
readDepthComponent(float unused)
writeDepthBuffer(float f)
m_166400_(float arg0)
public void
g()
drawPixels()
method_35627()
m_nucpyhdh()
drawPixels()
drawPixels()
m_166421_()
public void
a(File arg0)
writeToFile(File arg0)
method_4325(File arg0)
m_zrxcvcju(File arg0)
writeTo(File path)
writeFile(File output)
m_85056_(File arg0)
public boolean
a(org.lwjgl.util.freetype.FT_Face arg0, int arg1)
copyFromFont(org.lwjgl.util.freetype.FT_Face arg0, int arg1)
method_4316(org.lwjgl.util.freetype.FT_Face arg0, int arg1)
m_njvgksno(org.lwjgl.util.freetype.FT_Face arg0, int arg1)
makeGlyphBitmapSubpixel(org.lwjgl.util.freetype.FT_Face face, int glyphIndex)
makeGlyphBitmapSubpixel(org.lwjgl.util.freetype.FT_Face face, int glyphIndex)
m_85068_(org.lwjgl.util.freetype.FT_Face p_85070_, int arg1)
public void
a(Path arg0)
writeToFile(Path arg0)
method_4314(Path arg0)
m_jxaheiam(Path arg0)
writeTo(Path path)
writeFile(Path path)
m_85066_(Path arg0)
private boolean
a(WritableByteChannel arg0)
writeToChannel(WritableByteChannel arg0)
method_24032(WritableByteChannel arg0)
m_topytdjr(WritableByteChannel arg0)
write(WritableByteChannel channel)
write(WritableByteChannel output)
m_85064_(WritableByteChannel arg0)
public void
a(ffs arg0)
copyFrom(NativeImage arg0)
method_4317(class_1011 arg0)
m_urfoahpt(C_ayikuhxa arg0)
copyFrom(NativeImage image)
copyFrom(NativeImage image)
m_85054_(C_3148_ 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)
m_csziyqyg(int arg0, int arg1, int arg2, int arg3, int arg4)
fillRect(int x, int y, int width, int height, int color)
fillRect(int x, int y, int width, int height, int color)
m_84997_(int p_84999_, int p_85000_, int p_85001_, int p_85002_, 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)
m_hmadgtdg(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)
copyRectangle(int srcX, int srcY, int offsetX, int offsetY, int height, int width, boolean flipHorizontal, boolean flipVertical)
m_85025_(int p_85027_, int p_85028_, int p_85029_, int p_85030_, int p_85031_, int p_85032_, boolean p_85033_, boolean arg7)
public void
a(ffs arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
copyRect(NativeImage arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
method_47594(class_1011 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
m_vmneozhc(C_ayikuhxa arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, boolean arg7, boolean arg8)
copyRect(NativeImage image, int x, int y, int destX, int destY, int width, int height, boolean flipX, boolean flipY)
copyRectangle(NativeImage image, int srcX, int srcY, int destX, int destY, int height, int width, boolean flipHorizontal, boolean flipVertical)
m_260930_(C_3148_ p_262056_, int p_261490_, int p_261959_, int p_262110_, int p_261522_, int p_261505_, int p_261480_, boolean p_261622_, boolean arg8)
public void
h()
flipY()
method_4319()
m_thoegqhs()
mirrorVertically()
mirrorVertically()
m_85122_()
public void
a(int arg0, int arg1, int arg2, int arg3, ffs 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)
m_bzftrusx(int arg0, int arg1, int arg2, int arg3, C_ayikuhxa arg4)
resizeSubRectTo(int x, int y, int width, int height, NativeImage targetImage)
resizeSubRectTo(int x, int y, int width, int height, NativeImage targetImage)
m_85034_(int p_85036_, int p_85037_, int p_85038_, int p_85039_, C_3148_ arg4)
public void
i()
untrack()
method_4302()
m_oyjcjnbx()
untrack()
untrack()
m_85123_()