Uses of Enum Class
com.mojang.blaze3d.platform.NativeImage.Format
Packages that use NativeImage.Format
-
Uses of NativeImage.Format in com.mojang.blaze3d.platform
Fields in com.mojang.blaze3d.platform declared as NativeImage.FormatMethods in com.mojang.blaze3d.platform that return NativeImage.FormatModifier and TypeMethodDescriptionNativeImage.format()
(package private) static NativeImage.Format
NativeImage.Format.getStbFormat
(int channels) 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.Methods in com.mojang.blaze3d.platform with parameters of type NativeImage.FormatModifier and TypeMethodDescriptionprivate static void
GlStateManager._upload
(int level, int xOffset, int yOffset, int width, int height, NativeImage.Format format, IntBuffer pixels, Consumer<IntBuffer> output) static NativeImage
NativeImage.read
(NativeImage.Format format, InputStream textureStream) static NativeImage
NativeImage.read
(NativeImage.Format format, ByteBuffer textureData) static void
GlStateManager.upload
(int level, int xOffset, int yOffset, int width, int height, NativeImage.Format format, IntBuffer pixels, Consumer<IntBuffer> output) Constructors in com.mojang.blaze3d.platform with parameters of type NativeImage.FormatModifierConstructorDescriptionNativeImage
(NativeImage.Format format, int width, int height, boolean useCalloc) private
NativeImage
(NativeImage.Format format, int width, int height, boolean useStbFree, long pixels)