Uses of Enum Class
net.minecraft.client.texture.NativeImage.Format
-
Uses of NativeImage.Format in com.mojang.blaze3d.platform
Modifier and TypeMethodDescriptionprivate static void
GlStateManager._upload
(int level, int offsetX, int offsetY, int width, int height, NativeImage.Format format, IntBuffer pixels, Consumer<IntBuffer> closer) static void
GlStateManager.upload
(int level, int offsetX, int offsetY, int width, int height, NativeImage.Format format, IntBuffer pixels, Consumer<IntBuffer> closer) -
Uses of NativeImage.Format in net.minecraft.client.texture
Modifier and TypeMethodDescription(package private) static NativeImage.Format
NativeImage.Format.fromChannelCount
(int glFormat) NativeImage.getFormat()
static NativeImage.Format
Returns the enum constant of this class with the specified name.static NativeImage.Format[]
NativeImage.Format.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic NativeImage
NativeImage.read
(@Nullable NativeImage.Format format, InputStream stream) static NativeImage
NativeImage.read
(@Nullable NativeImage.Format format, ByteBuffer buffer) ModifierConstructorDescriptionNativeImage
(NativeImage.Format format, int width, int height, boolean useStb) private
NativeImage
(NativeImage.Format format, int width, int height, boolean useStb, long pointer)