Package net.minecraft.client.texture
Enum Class NativeImage.Format
- All Implemented Interfaces:
Serializable,Comparable<NativeImage.Format>,Constable
- Enclosing class:
- NativeImage
- Mappings:
Namespace Name official dpm$aintermediary net/minecraft/class_1011$class_1012named net/minecraft/client/texture/NativeImage$Format
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final int(package private) final intprivate final intprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final intprivate final intprivate final intprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFormat(int channels, int glFormat, boolean hasRed, boolean hasGreen, boolean hasBlue, boolean hasLuminance, boolean hasAlpha, int redOffset, int greenOffset, int blueOffset, int luminanceOffset, int alphaOffset, boolean writeable) -
Method Summary
Modifier and TypeMethodDescriptionintintintint(package private) static NativeImage.FormatgetFormat(int glFormat) intintintintintintintbooleanbooleanhasBlue()booleanbooleanhasGreen()booleanbooleanbooleanbooleanhasRed()booleanbooleanvoidvoidstatic NativeImage.FormatReturns the enum constant of this class with the specified name.static NativeImage.Format[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABGR
- Mappings:
Namespace Name Mixin selector official aLdpm$a;a:Ldpm$a;intermediary field_4997Lnet/minecraft/class_1011$class_1012;field_4997:Lnet/minecraft/class_1011$class_1012;named ABGRLnet/minecraft/client/texture/NativeImage$Format;ABGR:Lnet/minecraft/client/texture/NativeImage$Format;
-
BGR
- Mappings:
Namespace Name Mixin selector official bLdpm$a;b:Ldpm$a;intermediary field_5001Lnet/minecraft/class_1011$class_1012;field_5001:Lnet/minecraft/class_1011$class_1012;named BGRLnet/minecraft/client/texture/NativeImage$Format;BGR:Lnet/minecraft/client/texture/NativeImage$Format;
-
LUMINANCE_ALPHA
- Mappings:
Namespace Name Mixin selector official cLdpm$a;c:Ldpm$a;intermediary field_5002Lnet/minecraft/class_1011$class_1012;field_5002:Lnet/minecraft/class_1011$class_1012;named LUMINANCE_ALPHALnet/minecraft/client/texture/NativeImage$Format;LUMINANCE_ALPHA:Lnet/minecraft/client/texture/NativeImage$Format;
-
LUMINANCE
- Mappings:
Namespace Name Mixin selector official dLdpm$a;d:Ldpm$a;intermediary field_4998Lnet/minecraft/class_1011$class_1012;field_4998:Lnet/minecraft/class_1011$class_1012;named LUMINANCELnet/minecraft/client/texture/NativeImage$Format;LUMINANCE:Lnet/minecraft/client/texture/NativeImage$Format;
-
-
Field Details
-
channelCount
final int channelCount- Mappings:
Namespace Name Mixin selector official eLdpm$a;e:Iintermediary field_4994Lnet/minecraft/class_1011$class_1012;field_4994:Inamed channelCountLnet/minecraft/client/texture/NativeImage$Format;channelCount:I
-
pixelDataFormat
private final int pixelDataFormat- Mappings:
Namespace Name Mixin selector official fLdpm$a;f:Iintermediary field_4993Lnet/minecraft/class_1011$class_1012;field_4993:Inamed pixelDataFormatLnet/minecraft/client/texture/NativeImage$Format;pixelDataFormat:I
-
hasRed
private final boolean hasRed- Mappings:
Namespace Name Mixin selector official gLdpm$a;g:Zintermediary field_5005Lnet/minecraft/class_1011$class_1012;field_5005:Znamed hasRedLnet/minecraft/client/texture/NativeImage$Format;hasRed:Z
-
hasGreen
private final boolean hasGreen- Mappings:
Namespace Name Mixin selector official hLdpm$a;h:Zintermediary field_5004Lnet/minecraft/class_1011$class_1012;field_5004:Znamed hasGreenLnet/minecraft/client/texture/NativeImage$Format;hasGreen:Z
-
hasBlue
private final boolean hasBlue- Mappings:
Namespace Name Mixin selector official iLdpm$a;i:Zintermediary field_5003Lnet/minecraft/class_1011$class_1012;field_5003:Znamed hasBlueLnet/minecraft/client/texture/NativeImage$Format;hasBlue:Z
-
hasLuminance
private final boolean hasLuminance- Mappings:
Namespace Name Mixin selector official jLdpm$a;j:Zintermediary field_5000Lnet/minecraft/class_1011$class_1012;field_5000:Znamed hasLuminanceLnet/minecraft/client/texture/NativeImage$Format;hasLuminance:Z
-
hasAlpha
private final boolean hasAlpha- Mappings:
Namespace Name Mixin selector official kLdpm$a;k:Zintermediary field_4999Lnet/minecraft/class_1011$class_1012;field_4999:Znamed hasAlphaLnet/minecraft/client/texture/NativeImage$Format;hasAlpha:Z
-
redOffset
private final int redOffset- Mappings:
Namespace Name Mixin selector official lLdpm$a;l:Iintermediary field_5010Lnet/minecraft/class_1011$class_1012;field_5010:Inamed redOffsetLnet/minecraft/client/texture/NativeImage$Format;redOffset:I
-
greenOffset
private final int greenOffset- Mappings:
Namespace Name Mixin selector official mLdpm$a;m:Iintermediary field_5009Lnet/minecraft/class_1011$class_1012;field_5009:Inamed greenOffsetLnet/minecraft/client/texture/NativeImage$Format;greenOffset:I
-
blueOffset
private final int blueOffset- Mappings:
Namespace Name Mixin selector official nLdpm$a;n:Iintermediary field_5008Lnet/minecraft/class_1011$class_1012;field_5008:Inamed blueOffsetLnet/minecraft/client/texture/NativeImage$Format;blueOffset:I
-
luminanceChannelOffset
private final int luminanceChannelOffset- Mappings:
Namespace Name Mixin selector official oLdpm$a;o:Iintermediary field_5007Lnet/minecraft/class_1011$class_1012;field_5007:Inamed luminanceChannelOffsetLnet/minecraft/client/texture/NativeImage$Format;luminanceChannelOffset:I
-
alphaChannelOffset
private final int alphaChannelOffset- Mappings:
Namespace Name Mixin selector official pLdpm$a;p:Iintermediary field_5006Lnet/minecraft/class_1011$class_1012;field_5006:Inamed alphaChannelOffsetLnet/minecraft/client/texture/NativeImage$Format;alphaChannelOffset:I
-
writeable
private final boolean writeable- Mappings:
Namespace Name Mixin selector official qLdpm$a;q:Zintermediary field_4996Lnet/minecraft/class_1011$class_1012;field_4996:Znamed writeableLnet/minecraft/client/texture/NativeImage$Format;writeable:Z
-
-
Constructor Details
-
Format
private Format(int channels, int glFormat, boolean hasRed, boolean hasGreen, boolean hasBlue, boolean hasLuminance, boolean hasAlpha, int redOffset, int greenOffset, int blueOffset, int luminanceOffset, int alphaOffset, boolean writeable) - Mappings:
Namespace Name Mixin selector official <init>Ldpm$a;<init>(Ljava/lang/String;IIIZZZZZIIIIIZ)Vintermediary <init>Lnet/minecraft/class_1011$class_1012;<init>(Ljava/lang/String;IIIZZZZZIIIIIZ)Vnamed <init>Lnet/minecraft/client/texture/NativeImage$Format;<init>(Ljava/lang/String;IIIZZZZZIIIIIZ)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getChannelCount
public int getChannelCount()- Mappings:
Namespace Name Mixin selector official aLdpm$a;a()Iintermediary method_4335Lnet/minecraft/class_1011$class_1012;method_4335()Inamed getChannelCountLnet/minecraft/client/texture/NativeImage$Format;getChannelCount()I
-
setPackAlignment
public void setPackAlignment()- Mappings:
Namespace Name Mixin selector official bLdpm$a;b()Vintermediary method_4339Lnet/minecraft/class_1011$class_1012;method_4339()Vnamed setPackAlignmentLnet/minecraft/client/texture/NativeImage$Format;setPackAlignment()V
-
setUnpackAlignment
public void setUnpackAlignment()- Mappings:
Namespace Name Mixin selector official cLdpm$a;c()Vintermediary method_4340Lnet/minecraft/class_1011$class_1012;method_4340()Vnamed setUnpackAlignmentLnet/minecraft/client/texture/NativeImage$Format;setUnpackAlignment()V
-
getPixelDataFormat
public int getPixelDataFormat()- Mappings:
Namespace Name Mixin selector official dLdpm$a;d()Iintermediary method_4333Lnet/minecraft/class_1011$class_1012;method_4333()Inamed getPixelDataFormatLnet/minecraft/client/texture/NativeImage$Format;getPixelDataFormat()I
-
hasRed
public boolean hasRed()- Mappings:
Namespace Name Mixin selector official eLdpm$a;e()Zintermediary method_35628Lnet/minecraft/class_1011$class_1012;method_35628()Znamed hasRedLnet/minecraft/client/texture/NativeImage$Format;hasRed()Z
-
hasGreen
public boolean hasGreen()- Mappings:
Namespace Name Mixin selector official fLdpm$a;f()Zintermediary method_35629Lnet/minecraft/class_1011$class_1012;method_35629()Znamed hasGreenLnet/minecraft/client/texture/NativeImage$Format;hasGreen()Z
-
hasBlue
public boolean hasBlue()- Mappings:
Namespace Name Mixin selector official gLdpm$a;g()Zintermediary method_35630Lnet/minecraft/class_1011$class_1012;method_35630()Znamed hasBlueLnet/minecraft/client/texture/NativeImage$Format;hasBlue()Z
-
hasLuminance
public boolean hasLuminance()- Mappings:
Namespace Name Mixin selector official hLdpm$a;h()Zintermediary method_35631Lnet/minecraft/class_1011$class_1012;method_35631()Znamed hasLuminanceLnet/minecraft/client/texture/NativeImage$Format;hasLuminance()Z
-
hasAlphaChannel
public boolean hasAlphaChannel()- Mappings:
Namespace Name Mixin selector official iLdpm$a;i()Zintermediary method_4329Lnet/minecraft/class_1011$class_1012;method_4329()Znamed hasAlphaChannelLnet/minecraft/client/texture/NativeImage$Format;hasAlphaChannel()Z
-
getRedOffset
public int getRedOffset()- Mappings:
Namespace Name Mixin selector official jLdpm$a;j()Iintermediary method_35632Lnet/minecraft/class_1011$class_1012;method_35632()Inamed getRedOffsetLnet/minecraft/client/texture/NativeImage$Format;getRedOffset()I
-
getGreenOffset
public int getGreenOffset()- Mappings:
Namespace Name Mixin selector official kLdpm$a;k()Iintermediary method_35633Lnet/minecraft/class_1011$class_1012;method_35633()Inamed getGreenOffsetLnet/minecraft/client/texture/NativeImage$Format;getGreenOffset()I
-
getBlueOffset
public int getBlueOffset()- Mappings:
Namespace Name Mixin selector official lLdpm$a;l()Iintermediary method_35634Lnet/minecraft/class_1011$class_1012;method_35634()Inamed getBlueOffsetLnet/minecraft/client/texture/NativeImage$Format;getBlueOffset()I
-
getLuminanceChannelOffset
public int getLuminanceChannelOffset()- Mappings:
Namespace Name Mixin selector official mLdpm$a;m()Iintermediary method_35635Lnet/minecraft/class_1011$class_1012;method_35635()Inamed getLuminanceChannelOffsetLnet/minecraft/client/texture/NativeImage$Format;getLuminanceChannelOffset()I
-
getAlphaChannelOffset
public int getAlphaChannelOffset()- Mappings:
Namespace Name Mixin selector official nLdpm$a;n()Iintermediary method_4332Lnet/minecraft/class_1011$class_1012;method_4332()Inamed getAlphaChannelOffsetLnet/minecraft/client/texture/NativeImage$Format;getAlphaChannelOffset()I
-
hasRedChannel
public boolean hasRedChannel()- Mappings:
Namespace Name Mixin selector official oLdpm$a;o()Zintermediary method_35636Lnet/minecraft/class_1011$class_1012;method_35636()Znamed hasRedChannelLnet/minecraft/client/texture/NativeImage$Format;hasRedChannel()Z
-
hasGreenChannel
public boolean hasGreenChannel()- Mappings:
Namespace Name Mixin selector official pLdpm$a;p()Zintermediary method_35637Lnet/minecraft/class_1011$class_1012;method_35637()Znamed hasGreenChannelLnet/minecraft/client/texture/NativeImage$Format;hasGreenChannel()Z
-
hasBlueChannel
public boolean hasBlueChannel()- Mappings:
Namespace Name Mixin selector official qLdpm$a;q()Zintermediary method_35638Lnet/minecraft/class_1011$class_1012;method_35638()Znamed hasBlueChannelLnet/minecraft/client/texture/NativeImage$Format;hasBlueChannel()Z
-
hasOpacityChannel
public boolean hasOpacityChannel()- Mappings:
Namespace Name Mixin selector official rLdpm$a;r()Zintermediary method_4337Lnet/minecraft/class_1011$class_1012;method_4337()Znamed hasOpacityChannelLnet/minecraft/client/texture/NativeImage$Format;hasOpacityChannel()Z
-
getRedOrLuminanceOffset
public int getRedOrLuminanceOffset()- Mappings:
Namespace Name Mixin selector official sLdpm$a;s()Iintermediary method_35639Lnet/minecraft/class_1011$class_1012;method_35639()Inamed getRedOrLuminanceOffsetLnet/minecraft/client/texture/NativeImage$Format;getRedOrLuminanceOffset()I
-
getGreenOrLuminanceOffset
public int getGreenOrLuminanceOffset()- Mappings:
Namespace Name Mixin selector official tLdpm$a;t()Iintermediary method_35640Lnet/minecraft/class_1011$class_1012;method_35640()Inamed getGreenOrLuminanceOffsetLnet/minecraft/client/texture/NativeImage$Format;getGreenOrLuminanceOffset()I
-
getBlueOrLuminanceOffset
public int getBlueOrLuminanceOffset()- Mappings:
Namespace Name Mixin selector official uLdpm$a;u()Iintermediary method_35641Lnet/minecraft/class_1011$class_1012;method_35641()Inamed getBlueOrLuminanceOffsetLnet/minecraft/client/texture/NativeImage$Format;getBlueOrLuminanceOffset()I
-
getOpacityOffset
public int getOpacityOffset()- Mappings:
Namespace Name Mixin selector official vLdpm$a;v()Iintermediary method_4330Lnet/minecraft/class_1011$class_1012;method_4330()Inamed getOpacityOffsetLnet/minecraft/client/texture/NativeImage$Format;getOpacityOffset()I
-
isWriteable
public boolean isWriteable()- Mappings:
Namespace Name Mixin selector official wLdpm$a;w()Zintermediary method_4338Lnet/minecraft/class_1011$class_1012;method_4338()Znamed isWriteableLnet/minecraft/client/texture/NativeImage$Format;isWriteable()Z
-
getFormat
- Mappings:
Namespace Name Mixin selector official aLdpm$a;a(I)Ldpm$a;intermediary method_4336Lnet/minecraft/class_1011$class_1012;method_4336(I)Lnet/minecraft/class_1011$class_1012;named getFormatLnet/minecraft/client/texture/NativeImage$Format;getFormat(I)Lnet/minecraft/client/texture/NativeImage$Format;
-