Uses of Enum Class
com.mojang.blaze3d.platform.NativeImage.Format
Packages that use NativeImage.Format
Package
Description
-
Uses of NativeImage.Format in com.mojang.blaze3d.opengl
Methods in com.mojang.blaze3d.opengl with parameters of type NativeImage.FormatModifier and TypeMethodDescriptionstatic int
GlConst.toGl
(NativeImage.Format pFormat) void
GlCommandEncoder.writeToTexture
(GpuTexture pTexture, IntBuffer pBuffer, NativeImage.Format pFormat, int pMipLevel, int pDepthOrLayer, int pX, int pY, int pWidth, int pHeight) -
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 pChannels) 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 TypeMethodDescriptionstatic NativeImage
NativeImage.read
(NativeImage.Format pFormat, InputStream pTextureStream) static NativeImage
NativeImage.read
(NativeImage.Format pFormat, ByteBuffer pTextureData) Constructors in com.mojang.blaze3d.platform with parameters of type NativeImage.FormatModifierConstructorDescriptionNativeImage
(NativeImage.Format pFormat, int pWidth, int pHeight, boolean pUseCalloc) NativeImage
(NativeImage.Format pFormat, int pWidth, int pHeight, boolean pUseStbFree, long pPixels) -
Uses of NativeImage.Format in com.mojang.blaze3d.systems
Methods in com.mojang.blaze3d.systems with parameters of type NativeImage.FormatModifier and TypeMethodDescriptionvoid
CommandEncoder.writeToTexture
(GpuTexture pTexture, IntBuffer pBuffer, NativeImage.Format pFormat, int pMipLevel, int pDepthOrLayer, int pX, int pY, int pWidth, int pHeight) -
Uses of NativeImage.Format in net.neoforged.neoforge.client.blaze3d.validation
Methods in net.neoforged.neoforge.client.blaze3d.validation with parameters of type NativeImage.FormatModifier and TypeMethodDescriptionvoid
ValidationCommandEncoder.writeToTexture
(GpuTexture texture, IntBuffer imageData, NativeImage.Format imageFormat, int mipLevel, int layer, int x, int y, int width, int height)