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 TypeMethodDescriptionvoidGlCommandEncoder.writeToTexture(GpuTexture pTexture, NativeImage pImage) voidGlCommandEncoder.writeToTexture(GpuTexture pTexture, NativeImage pImage, int pMipLevel, int pDepthOrLayer, int pX, int pY, int pWidth, int pHeight, int pSourceX, int pSourceY) -
Uses of NativeImage in com.mojang.blaze3d.platform
Methods in com.mojang.blaze3d.platform that return NativeImageModifier and TypeMethodDescriptionNativeImage.mappedCopy(IntUnaryOperator pFunction) private static NativeImageNativeImage.putAndRead(ByteBuffer pBuffer, byte[] pBytes) static NativeImageNativeImage.read(byte[] pBytes) static NativeImageNativeImage.read(NativeImage.Format pFormat, InputStream pTextureStream) static NativeImageNativeImage.read(NativeImage.Format pFormat, ByteBuffer pTextureData) static NativeImageNativeImage.read(InputStream pTextureStream) static NativeImageNativeImage.read(ByteBuffer pTextureData) Methods in com.mojang.blaze3d.platform with parameters of type NativeImageModifier and TypeMethodDescriptionvoidNativeImage.copyFrom(NativeImage pOther) voidNativeImage.copyRect(NativeImage pTarget, int pXFrom, int pYFrom, int pXTo, int pYTo, int pWidth, int pHeight, boolean pMirrorX, boolean pMirrorY) voidNativeImage.resizeSubRectTo(int pX, int pY, int pWidth, int pHeight, NativeImage pImage) -
Uses of NativeImage in com.mojang.blaze3d.systems
Methods in com.mojang.blaze3d.systems with parameters of type NativeImageModifier and TypeMethodDescriptionvoidCommandEncoder.writeToTexture(GpuTexture pTexture, NativeImage pImage) voidCommandEncoder.writeToTexture(GpuTexture pTexture, NativeImage pImage, int pMipLevel, int pDepthOrLayer, int pX, int pY, int pWidth, int pHeight, int pSourceX, int pSourceY) -
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 voidScreenshot.takeScreenshot(RenderTarget pRenderTarget, int pDownscaleFactor, Consumer<NativeImage> pWriter) static voidScreenshot.takeScreenshot(RenderTarget pRenderTarget, Consumer<NativeImage> pWriter) -
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 NativeImageSpecialGlyphs.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 NativeImageBitmapProvider.Glyph.imageThe field for theimagerecord component.private final NativeImageBitmapProvider.imageMethods in net.minecraft.client.gui.font.providers that return NativeImageModifier and TypeMethodDescriptionBitmapProvider.Glyph.image()Returns the value of theimagerecord component.Methods in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifier and TypeMethodDescriptionprivate intBitmapProvider.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 aGlyphrecord 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.activeFrameSpriteContents.byMipLevelprivate final NativeImageTextureContents.imageThe field for theimagerecord component.private final NativeImageSpriteContents.originalImageprivate NativeImageDynamicTexture.pixelsMethods in net.minecraft.client.renderer.texture that return NativeImageModifier and TypeMethodDescriptionprivate static NativeImageSkinTextureDownloader.downloadSkin(Path pPath, String pUrl) static NativeImage[]MipmapGenerator.generateMipLevels(NativeImage[] pImages, int pMipLevel) static NativeImageMissingTextureAtlasSprite.generateMissingImage()static NativeImageMissingTextureAtlasSprite.generateMissingImage(int pWidth, int pHeight) SpriteContents.getOriginalImage()DynamicTexture.getPixels()TextureContents.image()Returns the value of theimagerecord component.private static NativeImageSkinTextureDownloader.processLegacySkin(NativeImage pImage, String pUrl) Methods in net.minecraft.client.renderer.texture with parameters of type NativeImageModifier and TypeMethodDescriptionprotected voidCubeMapTexture.doLoad(NativeImage p_423682_, boolean p_423675_, boolean p_423460_) protected voidReloadableTexture.doLoad(NativeImage pImage, boolean pBlur, boolean pClamp) private static voidSkinTextureDownloader.doNotchTransparencyHack(NativeImage pImage, int pMinX, int pMinY, int pMaxX, int pMaxY) static NativeImage[]MipmapGenerator.generateMipLevels(NativeImage[] pImages, int pMipLevel) private static booleanMipmapGenerator.hasTransparentPixel(NativeImage pImage) private static NativeImageSkinTextureDownloader.processLegacySkin(NativeImage pImage, String pUrl) private static CompletableFuture<ResourceLocation> SkinTextureDownloader.registerTextureInManager(ResourceLocation pLocation, NativeImage pImage) private static voidSkinTextureDownloader.setNoAlpha(NativeImage pImage, int pMinX, int pMinY, int pMaxX, int pMaxY) voidDynamicTexture.setPixels(NativeImage pPixels) (package private) voidSpriteContents.upload(int pX, int pY, int pSourceX, int pSourceY, NativeImage[] pImages, GpuTexture pTexture) Constructors in net.minecraft.client.renderer.texture with parameters of type NativeImageModifierConstructorDescriptionDynamicTexture(Supplier<String> pLabel, NativeImage pPixels) SpriteContents(ResourceLocation pName, FrameSize pFrameSize, NativeImage pOriginalImage, ResourceMetadata pMetadata) TextureContents(NativeImage image, TextureMetadataSection metadata) Creates an instance of aTextureContentsrecord 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.imageMethods 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 ScreenshotEventClientHooks.onScreenshot(NativeImage image, File screenshotFile) -
Uses of NativeImage in net.neoforged.neoforge.client.blaze3d.validation
Methods in net.neoforged.neoforge.client.blaze3d.validation with parameters of type NativeImageModifier and TypeMethodDescriptionvoidValidationCommandEncoder.writeToTexture(GpuTexture texture, NativeImage image) voidValidationCommandEncoder.writeToTexture(GpuTexture texture, NativeImage image, int mipLevel, int layer, int dstX, int dstY, int width, int height, int srcX, int srcY) -
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 SpriteContentsSpriteContentsConstructor.create(ResourceLocation id, FrameSize frameSize, NativeImage nativeImage, ResourceMetadata resourceMetadata) Construct an instance of SpriteContents or return null to not load the sprite.