com.mojang.blaze3d.platform

public enum NativeImage$Format

faj$a
com.mojang.blaze3d.platform.NativeImage$Format
net.minecraft.class_1011$class_1012
net.minecraft.client.texture.NativeImage$Format
net.minecraft.src.C_3148_$C_3150_

Enum constant summary

Enum Constant
a
RGBA
field_4997
RGBA
RGBA
b
RGB
field_5001
RGB
RGB
c
LUMINANCE_ALPHA
field_5002
LUMINANCE_ALPHA
LUMINANCE_ALPHA
d
LUMINANCE
field_4998
LUMINANCE
LUMINANCE

Field summary

Modifier and TypeField
final int
e
components
field_4994
channelCount
f_85130_
private final int
f
glFormat
field_4993
glFormat
f_85131_
private final boolean
g
hasRed
field_5005
hasRed
f_85132_
private final boolean
h
hasGreen
field_5004
hasGreen
f_85133_
private final boolean
i
hasBlue
field_5003
hasBlue
f_85134_
private final boolean
j
hasLuminance
field_5000
hasLuminance
f_85135_
private final boolean
k
hasAlpha
field_4999
hasAlpha
f_85136_
private final int
l
redOffset
field_5010
redOffset
f_85137_
private final int
m
greenOffset
field_5009
greenOffset
f_85138_
private final int
n
blueOffset
field_5008
blueOffset
f_85139_
private final int
o
luminanceOffset
field_5007
luminanceOffset
f_85140_
private final int
p
alphaOffset
field_5006
alphaOffset
f_85141_
private final boolean
q
supportedByStb
field_4996
writeable
f_85142_

Constructor summary

ModifierConstructor
private (int p_85147_, int p_85148_, boolean channelCount, boolean glFormat, 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
a()
components()
method_4335()
getChannelCount()
m_85161_()
public void
b()
setPackPixelStoreState()
method_4339()
setPackAlignment()
m_85166_()
public void
c()
setUnpackPixelStoreState()
method_4340()
setUnpackAlignment()
m_85169_()
public int
d()
glFormat()
method_4333()
toGl()
m_85170_()
public boolean
e()
hasRed()
method_35628()
hasRed()
m_166425_()
public boolean
f()
hasGreen()
method_35629()
hasGreen()
m_166426_()
public boolean
g()
hasBlue()
method_35630()
hasBlue()
m_166427_()
public boolean
h()
hasLuminance()
method_35631()
hasLuminance()
m_166428_()
public boolean
i()
hasAlpha()
method_4329()
hasAlpha()
m_85171_()
public int
j()
redOffset()
method_35632()
getRedOffset()
m_166429_()
public int
k()
greenOffset()
method_35633()
getGreenOffset()
m_166430_()
public int
l()
blueOffset()
method_35634()
getBlueOffset()
m_166431_()
public int
m()
luminanceOffset()
method_35635()
getLuminanceOffset()
m_166432_()
public int
n()
alphaOffset()
method_4332()
getAlphaOffset()
m_85172_()
public boolean
o()
hasLuminanceOrRed()
method_35636()
hasRedChannel()
m_166433_()
public boolean
p()
hasLuminanceOrGreen()
method_35637()
hasGreenChannel()
m_166434_()
public boolean
q()
hasLuminanceOrBlue()
method_35638()
hasBlueChannel()
m_166435_()
public boolean
r()
hasLuminanceOrAlpha()
method_4337()
hasOpacityChannel()
m_85173_()
public int
s()
luminanceOrRedOffset()
method_35639()
getRedChannelOffset()
m_166436_()
public int
t()
luminanceOrGreenOffset()
method_35640()
getGreenChannelOffset()
m_166437_()
public int
u()
luminanceOrBlueOffset()
method_35641()
getBlueChannelOffset()
m_166438_()
public int
v()
luminanceOrAlphaOffset()
method_4330()
getOpacityChannelOffset()
m_85174_()
public boolean
w()
supportedByStb()
method_4338()
isWriteable()
m_85175_()
static NativeImage$Format
a(int arg0)
getStbFormat(int arg0)
method_4336(int arg0)
fromChannelCount(int glFormat)
m_85167_(int p_85168_)