net.minecraft.client.texture

public enum NativeImage$Format

com.mojang.blaze3d.platform.NativeImage$Format
net.minecraft.class_1011$class_1012
net.minecraft.client.texture.NativeImage$Format

Enum constant summary

Enum Constant
RGBA
field_4997
RGBA
RGB
field_5001
RGB
LUMINANCE_ALPHA
field_5002
LUMINANCE_ALPHA
LUMINANCE
field_4998
LUMINANCE

Field summary

Modifier and TypeField
private final int
components
field_4994
channelCount
private final boolean
hasRed
field_5005
hasRed
private final boolean
hasGreen
field_5004
hasGreen
private final boolean
hasBlue
field_5003
hasBlue
private final boolean
hasLuminance
field_5000
hasLuminance
private final boolean
hasAlpha
field_4999
hasAlpha
private final int
redOffset
field_5010
redOffset
private final int
greenOffset
field_5009
greenOffset
private final int
blueOffset
field_5008
blueOffset
private final int
luminanceOffset
field_5007
luminanceOffset
private final int
alphaOffset
field_5006
alphaOffset
private final boolean
supportedByStb
field_4996
writeable
private static final NativeImage$Format[]
$VALUES
field_4995
field_4995

Constructor summary

ModifierConstructor
private (int $enum$name, boolean $enum$ordinal, boolean channelCount, boolean hasRed, boolean hasGreen, boolean hasBlue, int hasLuminance, int hasAlpha, int redOffset, int greenOffset, int blueOffset, boolean luminanceOffset)

Method summary

Modifier and TypeMethod
public int
components()
method_4335()
getChannelCount()
public boolean
hasRed()
method_35628()
hasRed()
public boolean
hasGreen()
method_35629()
hasGreen()
public boolean
hasBlue()
method_35630()
hasBlue()
public boolean
hasLuminance()
method_35631()
hasLuminance()
public boolean
hasAlpha()
method_4329()
hasAlpha()
public int
redOffset()
method_35632()
getRedOffset()
public int
greenOffset()
method_35633()
getGreenOffset()
public int
blueOffset()
method_35634()
getBlueOffset()
public int
luminanceOffset()
method_35635()
getLuminanceOffset()
public int
alphaOffset()
method_4332()
getAlphaOffset()
public boolean
hasLuminanceOrRed()
method_35636()
hasRedChannel()
public boolean
hasLuminanceOrGreen()
method_35637()
hasGreenChannel()
public boolean
hasLuminanceOrBlue()
method_35638()
hasBlueChannel()
public boolean
hasLuminanceOrAlpha()
method_4337()
hasOpacityChannel()
public int
luminanceOrRedOffset()
method_35639()
getRedChannelOffset()
public int
luminanceOrGreenOffset()
method_35640()
getGreenChannelOffset()
public int
luminanceOrBlueOffset()
method_35641()
getBlueChannelOffset()
public int
luminanceOrAlphaOffset()
method_4330()
getOpacityChannelOffset()
public boolean
supportedByStb()
method_4338()
isWriteable()
private static NativeImage$Format
getStbFormat(int i)
method_4336(int arg0)
fromChannelCount(int glFormat)
private static NativeImage$Format[]
$values()
method_36811()
method_36811()