Uses of Class
com.mojang.blaze3d.platform.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
Modifier and TypeMethodDescriptionstatic NativeImage
NativeImage.fromBase64
(String p_85061_) 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_) Modifier and TypeMethodDescriptionvoid
NativeImage.copyFrom
(NativeImage p_85055_) void
NativeImage.resizeSubRectTo
(int p_85035_, int p_85036_, int p_85037_, int p_85038_, NativeImage p_85039_) -
Uses of NativeImage in net.minecraft.client
Modifier and TypeMethodDescriptionstatic NativeImage
Screenshot.takeScreenshot
(RenderTarget p_92282_) -
Uses of NativeImage in net.minecraft.client.gui.font.glyphs
Modifier and TypeMethodDescriptionprivate static NativeImage
SpecialGlyphs.generate
(int p_232609_, int p_232610_, SpecialGlyphs.PixelProvider p_232611_) -
Uses of NativeImage in net.minecraft.client.gui.font.providers
Modifier and TypeFieldDescriptionprivate final NativeImage
BitmapProvider.Glyph.image
The field for theimage
record component.private final NativeImage
BitmapProvider.image
private final NativeImage
LegacyUnicodeBitmapsProvider.Glyph.source
The field for thesource
record component.Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
NativeImage> LegacyUnicodeBitmapsProvider.textures
Modifier and TypeMethodDescriptionBitmapProvider.Glyph.image()
Returns the value of theimage
record component.private NativeImage
LegacyUnicodeBitmapsProvider.loadTexture
(ResourceLocation p_95438_) LegacyUnicodeBitmapsProvider.Glyph.source()
Returns the value of thesource
record component.Modifier and TypeMethodDescriptionprivate int
BitmapProvider.Builder.getActualGlyphWidth
(NativeImage p_95358_, int p_95359_, int p_95360_, int p_95361_, int p_95362_) ModifierConstructorDescription(package private)
BitmapProvider
(NativeImage p_95333_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<BitmapProvider.Glyph> p_95334_) (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.(package private)
Glyph
(int sourceX, int sourceY, int width, int height, NativeImage source) Creates an instance of aGlyph
record class. -
Uses of NativeImage in net.minecraft.client.renderer
-
Uses of NativeImage in net.minecraft.client.renderer.texture
Modifier and TypeFieldDescriptionprivate final NativeImage[]
TextureAtlasSprite.InterpolationData.activeFrame
private final NativeImage
SimpleTexture.TextureImage.image
protected final NativeImage[]
TextureAtlasSprite.mainImage
private NativeImage
DynamicTexture.pixels
Modifier and TypeFieldDescriptionprivate static final LazyLoadedValue<NativeImage>
MissingTextureAtlasSprite.MISSING_IMAGE_DATA
Modifier and TypeMethodDescriptionstatic NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage p_118055_, int p_118056_) SimpleTexture.TextureImage.getImage()
DynamicTexture.getPixels()
private NativeImage
HttpTexture.load
(InputStream p_118019_) private NativeImage
HttpTexture.processLegacySkin
(NativeImage p_118033_) Modifier and TypeMethodDescriptionprivate void
SimpleTexture.doLoad
(NativeImage p_118137_, boolean p_118138_, boolean p_118139_) private static void
HttpTexture.doNotchTransparencyHack
(NativeImage p_118013_, int p_118014_, int p_118015_, int p_118016_, int p_118017_) static NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage p_118055_, int p_118056_) private void
HttpTexture.loadCallback
(NativeImage p_118011_) private NativeImage
HttpTexture.processLegacySkin
(NativeImage p_118033_) private static void
HttpTexture.setNoAlpha
(NativeImage p_118023_, int p_118024_, int p_118025_, int p_118026_, int p_118027_) void
DynamicTexture.setPixels
(NativeImage p_117989_) private void
HttpTexture.upload
(NativeImage p_118021_) (package private) void
TextureAtlasSprite.upload
(int p_118376_, int p_118377_, NativeImage[] p_118378_) ModifierConstructorDescriptionDynamicTexture
(NativeImage p_117984_) protected
TextureAtlasSprite
(TextureAtlas p_118358_, TextureAtlasSprite.Info p_118359_, int p_118360_, int p_118361_, int p_118362_, int p_118363_, int p_118364_, NativeImage p_118365_) TextureImage
(TextureMetadataSection p_118150_, NativeImage p_118151_) -
Uses of NativeImage in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprivate static void
PackResourcesAdapterV4.copyRect
(NativeImage p_118760_, NativeImage p_118761_, int p_118762_, int p_118763_, int p_118764_, int p_118765_, int p_118766_, int p_118767_, int p_118768_, boolean p_118769_, boolean p_118770_) -
Uses of NativeImage in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic @Nullable TextureAtlasSprite
ForgeHooksClient.loadTextureAtlasSprite
(TextureAtlas textureAtlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) static ScreenshotEvent
ForgeHooksClient.onScreenshot
(NativeImage image, File screenshotFile) -
Uses of NativeImage in net.minecraftforge.client.event
Modifier and TypeMethodDescriptionScreenshotEvent.getImage()
Returns the in-memory image of the screenshot. -
Uses of NativeImage in net.minecraftforge.client.textures
Modifier and TypeMethodDescription@NotNull TextureAtlasSprite
ITextureAtlasSpriteLoader.load
(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) Load aTextureAtlasSprite
for the given resource. -
Uses of NativeImage in net.minecraftforge.debug.client
Modifier and TypeMethodDescription@NotNull TextureAtlasSprite
CustomTASTest.TasLoader.load
(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image)