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.platform
Methods in com.mojang.blaze3d.platform that return NativeImageModifier and TypeMethodDescriptionNativeImage.mappedCopy
(IntUnaryOperator pFunction) static NativeImage
NativeImage.read
(byte[] pBytes) static NativeImage
NativeImage.read
(NativeImage.Format pFormat, InputStream pTextureStream) static NativeImage
NativeImage.read
(NativeImage.Format pFormat, ByteBuffer pTextureData) static NativeImage
NativeImage.read
(InputStream pTextureStream) static NativeImage
NativeImage.read
(ByteBuffer pTextureData) Methods in com.mojang.blaze3d.platform with parameters of type NativeImageModifier and TypeMethodDescriptionvoid
NativeImage.copyFrom
(NativeImage pOther) void
NativeImage.copyRect
(NativeImage pSource, int pXFrom, int pYFrom, int pXTo, int pYTo, int pWidth, int pHeight, boolean pMirrorX, boolean pMirrorY) void
NativeImage.resizeSubRectTo
(int pX, int pY, int pWidth, int pHeight, NativeImage pImage) -
Uses of NativeImage in com.mojang.realmsclient.util
Methods in com.mojang.realmsclient.util that return NativeImage -
Uses of NativeImage in net.minecraft.client
Methods in net.minecraft.client that return NativeImageModifier and TypeMethodDescriptionstatic NativeImage
Screenshot.takeScreenshot
(RenderTarget pFramebuffer) -
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 pWidth, int pHeight, SpecialGlyphs.PixelProvider pPixelProvider) 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 pImage, int pWidth, int pHeight, int pX, int pY) Constructors in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifierConstructorDescription(package private)
BitmapProvider
(NativeImage pImage, CodepointMap<BitmapProvider.Glyph> pGlyphs) (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
Fields in net.minecraft.client.renderer declared as 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
SimpleTexture.TextureImage.image
private final NativeImage
SpriteContents.originalImage
private NativeImage
DynamicTexture.pixels
Methods in net.minecraft.client.renderer.texture that return NativeImageModifier and TypeMethodDescriptionstatic NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage[] pImages, int pMipLevel) private static NativeImage
MissingTextureAtlasSprite.generateMissingImage
(int pWidth, int pHeight) SimpleTexture.TextureImage.getImage()
SpriteContents.getOriginalImage()
DynamicTexture.getPixels()
private NativeImage
HttpTexture.load
(InputStream pStream) private NativeImage
HttpTexture.processLegacySkin
(NativeImage pImage) Methods in net.minecraft.client.renderer.texture with parameters of type NativeImageModifier and TypeMethodDescriptionprivate void
SimpleTexture.doLoad
(NativeImage pImage, boolean pBlur, boolean pClamp) private static void
HttpTexture.doNotchTransparencyHack
(NativeImage pImage, int pX, int pY, int pWidth, int pHeight) static NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage[] pImages, int pMipLevel) private static boolean
MipmapGenerator.hasTransparentPixel
(NativeImage pImage) private void
HttpTexture.loadCallback
(NativeImage pImage) private NativeImage
HttpTexture.processLegacySkin
(NativeImage pImage) private static void
HttpTexture.setNoAlpha
(NativeImage pImage, int pX, int pY, int pWidth, int pHeight) void
DynamicTexture.setPixels
(NativeImage pPixels) private void
HttpTexture.upload
(NativeImage pImage) (package private) void
SpriteContents.upload
(int pX, int pY, int pFrameX, int pFrameY, NativeImage[] pAtlasData) Constructors in net.minecraft.client.renderer.texture with parameters of type NativeImageModifierConstructorDescriptionDynamicTexture
(NativeImage pPixels) SpriteContents
(ResourceLocation pName, FrameSize pFrameSize, NativeImage pOriginalImage, ResourceMetadata pMetadata) TextureImage
(TextureMetadataSection pMetadata, NativeImage pImage) -
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. -
Uses of NativeImage in net.neoforged.neoforge.oldtest.client
Constructors in net.neoforged.neoforge.oldtest.client with parameters of type NativeImageModifierConstructorDescriptionCustomSpriteContents
(ResourceLocation name, FrameSize size, NativeImage image, ResourceMetadata metadata)