Uses of Class
com.mojang.blaze3d.platform.NativeImage
Packages that use NativeImage
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of NativeImage in com.mojang.blaze3d.opengl
Methods in com.mojang.blaze3d.opengl with parameters of type NativeImageModifier and TypeMethodDescriptionvoid
GlCommandEncoder.writeToTexture
(GpuTexture p_409824_, NativeImage p_410255_) void
GlCommandEncoder.writeToTexture
(GpuTexture p_409608_, NativeImage p_410355_, int p_410252_, int p_410814_, int p_410606_, int p_410618_, int p_410484_, int p_410120_, int p_410042_) -
Uses of NativeImage in com.mojang.blaze3d.platform
Methods in com.mojang.blaze3d.platform that return NativeImageModifier and TypeMethodDescriptionNativeImage.mappedCopy
(IntUnaryOperator p_267084_) private static NativeImage
NativeImage.putAndRead
(ByteBuffer p_389700_, byte[] p_389448_) static NativeImage
NativeImage.read
(byte[] p_273041_) static NativeImage
NativeImage.read
(NativeImage.Format p_85049_, InputStream p_85050_) static NativeImage
NativeImage.read
(NativeImage.Format p_85052_, ByteBuffer p_85053_) static NativeImage
NativeImage.read
(InputStream p_85059_) static NativeImage
NativeImage.read
(ByteBuffer p_85063_) Methods in com.mojang.blaze3d.platform with parameters of type NativeImageModifier and TypeMethodDescriptionvoid
NativeImage.copyFrom
(NativeImage p_85055_) void
NativeImage.copyRect
(NativeImage p_261644_, int p_262056_, int p_261490_, int p_261959_, int p_262110_, int p_261522_, int p_261505_, boolean p_261480_, boolean p_261622_) void
NativeImage.resizeSubRectTo
(int p_85035_, int p_85036_, int p_85037_, int p_85038_, NativeImage p_85039_) -
Uses of NativeImage in com.mojang.blaze3d.systems
Methods in com.mojang.blaze3d.systems with parameters of type NativeImageModifier and TypeMethodDescriptionvoid
CommandEncoder.writeToTexture
(GpuTexture p_410601_, NativeImage p_409782_) void
CommandEncoder.writeToTexture
(GpuTexture p_409951_, NativeImage p_410471_, int p_410163_, int p_410504_, int p_410561_, int p_410675_, int p_409936_, int p_410387_, int p_409585_) -
Uses of NativeImage in com.mojang.realmsclient.util
Methods in com.mojang.realmsclient.util that return NativeImage -
Uses of NativeImage in net.minecraft.client
Method parameters in net.minecraft.client with type arguments of type NativeImageModifier and TypeMethodDescriptionstatic void
Screenshot.takeScreenshot
(RenderTarget p_92282_, Consumer<NativeImage> p_406336_) -
Uses of NativeImage in net.minecraft.client.gui.font.glyphs
Fields in net.minecraft.client.gui.font.glyphs declared as NativeImageMethods in net.minecraft.client.gui.font.glyphs that return NativeImageModifier and TypeMethodDescriptionprivate static NativeImage
SpecialGlyphs.generate
(int p_232609_, int p_232610_, SpecialGlyphs.PixelProvider p_232611_) Constructor parameters in net.minecraft.client.gui.font.glyphs with type arguments of type NativeImage -
Uses of NativeImage in net.minecraft.client.gui.font.providers
Fields in net.minecraft.client.gui.font.providers declared as NativeImageModifier and TypeFieldDescriptionprivate final NativeImage
BitmapProvider.Glyph.image
The field for theimage
record component.private final NativeImage
BitmapProvider.image
Methods in net.minecraft.client.gui.font.providers that return NativeImageModifier and TypeMethodDescriptionBitmapProvider.Glyph.image()
Returns the value of theimage
record component.Methods in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifier and TypeMethodDescriptionprivate int
BitmapProvider.Definition.getActualGlyphWidth
(NativeImage p_286449_, int p_286656_, int p_286554_, int p_286657_, int p_286307_) Constructors in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifierConstructorDescription(package private)
BitmapProvider
(NativeImage p_285380_, CodepointMap<BitmapProvider.Glyph> p_285445_) (package private)
Glyph
(float scale, NativeImage image, int offsetX, int offsetY, int width, int height, int advance, int ascent) Creates an instance of aGlyph
record class. -
Uses of NativeImage in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens with parameters of type NativeImage -
Uses of NativeImage in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as NativeImageModifier and TypeFieldDescriptionprivate final NativeImage[]
SpriteContents.InterpolationData.activeFrame
SpriteContents.byMipLevel
private final NativeImage
TextureContents.image
The field for theimage
record component.private final NativeImage
SpriteContents.originalImage
private NativeImage
DynamicTexture.pixels
Methods in net.minecraft.client.renderer.texture that return NativeImageModifier and TypeMethodDescriptionprivate static NativeImage
SkinTextureDownloader.downloadSkin
(Path p_389493_, String p_389422_) static NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage[] p_251300_, int p_252326_) static NativeImage
MissingTextureAtlasSprite.generateMissingImage()
static NativeImage
MissingTextureAtlasSprite.generateMissingImage
(int p_249811_, int p_249362_) SpriteContents.getOriginalImage()
DynamicTexture.getPixels()
TextureContents.image()
Returns the value of theimage
record component.private static NativeImage
SkinTextureDownloader.processLegacySkin
(NativeImage p_389593_, String p_389622_) Methods in net.minecraft.client.renderer.texture with parameters of type NativeImageModifier and TypeMethodDescriptionprivate void
ReloadableTexture.doLoad
(NativeImage p_389473_, boolean p_389455_, boolean p_389621_) private static void
SkinTextureDownloader.doNotchTransparencyHack
(NativeImage p_389443_, int p_389442_, int p_389419_, int p_389424_, int p_389559_) static NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage[] p_251300_, int p_252326_) private static boolean
MipmapGenerator.hasTransparentPixel
(NativeImage p_252279_) private static NativeImage
SkinTextureDownloader.processLegacySkin
(NativeImage p_389593_, String p_389622_) private static CompletableFuture
<ResourceLocation> SkinTextureDownloader.registerTextureInManager
(ResourceLocation p_389574_, NativeImage p_389628_) private static void
SkinTextureDownloader.setNoAlpha
(NativeImage p_389456_, int p_389475_, int p_389579_, int p_389725_, int p_389657_) void
DynamicTexture.setPixels
(NativeImage p_117989_) (package private) void
SpriteContents.upload
(int p_248895_, int p_250245_, int p_250458_, int p_251337_, NativeImage[] p_248825_, GpuTexture p_404943_) Constructors in net.minecraft.client.renderer.texture with parameters of type NativeImageModifierConstructorDescriptionDynamicTexture
(Supplier<String> p_404638_, NativeImage p_404902_) SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_294742_) TextureContents
(NativeImage image, TextureMetadataSection metadata) Creates an instance of aTextureContents
record class. -
Uses of NativeImage in net.minecraft.client.renderer.texture.atlas.sources
Fields in net.minecraft.client.renderer.texture.atlas.sources with type parameters of type NativeImageModifier and TypeFieldDescriptionprivate final AtomicReference
<NativeImage> LazyLoadedImage.image
Methods in net.minecraft.client.renderer.texture.atlas.sources that return NativeImage -
Uses of NativeImage in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type NativeImageModifier and TypeMethodDescriptionstatic ScreenshotEvent
ClientHooks.onScreenshot
(NativeImage image, File screenshotFile) -
Uses of NativeImage in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as NativeImageMethods in net.neoforged.neoforge.client.event that return NativeImageModifier and TypeMethodDescriptionScreenshotEvent.getImage()
Returns the in-memory image of the screenshot.Constructors in net.neoforged.neoforge.client.event with parameters of type NativeImage -
Uses of NativeImage in net.neoforged.neoforge.client.textures
Methods in net.neoforged.neoforge.client.textures with parameters of type NativeImageModifier and TypeMethodDescription@Nullable SpriteContents
SpriteContentsConstructor.create
(ResourceLocation id, FrameSize frameSize, NativeImage nativeImage, ResourceMetadata resourceMetadata) Construct an instance of SpriteContents or return null to not load the sprite.