Enum VertexFormat

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VertexFormat>

    public enum VertexFormat
    extends java.lang.Enum<VertexFormat>
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Enum Constant Detail

      • OLDMODEL_POSITION_TEX_NORMAL

        public static final VertexFormat OLDMODEL_POSITION_TEX_NORMAL
      • PARTICLE_POSITION_TEX_COLOR_LMAP

        public static final VertexFormat PARTICLE_POSITION_TEX_COLOR_LMAP
      • POSITION_COLOR

        public static final VertexFormat POSITION_COLOR
      • POSITION_TEX

        public static final VertexFormat POSITION_TEX
      • POSITION_NORMAL

        public static final VertexFormat POSITION_NORMAL
      • POSITION_TEX_COLOR

        public static final VertexFormat POSITION_TEX_COLOR
      • POSITION_TEX_NORMAL

        public static final VertexFormat POSITION_TEX_NORMAL
      • POSITION_TEX_LMAP_COLOR

        public static final VertexFormat POSITION_TEX_LMAP_COLOR
      • POSITION_TEX_COLOR_NORMAL

        public static final VertexFormat POSITION_TEX_COLOR_NORMAL
    • Field Detail

      • COMPONENT_POSITION_SIZE

        public static final int COMPONENT_POSITION_SIZE
        See Also:
        Constant Field Values
      • COMPONENT_POSITION_FORMAT

        public static final int COMPONENT_POSITION_FORMAT
        See Also:
        Constant Field Values
      • COMPONENT_POSITION_STRIDE

        public static final int COMPONENT_POSITION_STRIDE
        See Also:
        Constant Field Values
      • COMPONENT_NORMAL_FORMAT

        public static final int COMPONENT_NORMAL_FORMAT
        See Also:
        Constant Field Values
      • COMPONENT_NORMAL_STRIDE

        public static final int COMPONENT_NORMAL_STRIDE
        See Also:
        Constant Field Values
      • COMPONENT_LIGHTMAP_SIZE

        public static final int COMPONENT_LIGHTMAP_SIZE
        See Also:
        Constant Field Values
      • COMPONENT_LIGHTMAP_FORMAT

        public static final int COMPONENT_LIGHTMAP_FORMAT
        See Also:
        Constant Field Values
      • COMPONENT_LIGHTMAP_STRIDE

        public static final int COMPONENT_LIGHTMAP_STRIDE
        See Also:
        Constant Field Values
      • attribPositionEnabled

        public final boolean attribPositionEnabled
      • attribPositionIndex

        public final int attribPositionIndex
      • attribPositionOffset

        public final int attribPositionOffset
      • attribPositionFormat

        public final int attribPositionFormat
      • attribPositionNormalized

        public final boolean attribPositionNormalized
      • attribPositionSize

        public final int attribPositionSize
      • attribPositionStride

        public final int attribPositionStride
      • attribTextureEnabled

        public final boolean attribTextureEnabled
      • attribTextureIndex

        public final int attribTextureIndex
      • attribTextureOffset

        public final int attribTextureOffset
      • attribTextureFormat

        public final int attribTextureFormat
      • attribTextureNormalized

        public final boolean attribTextureNormalized
      • attribTextureSize

        public final int attribTextureSize
      • attribTextureStride

        public final int attribTextureStride
      • attribColorEnabled

        public final boolean attribColorEnabled
      • attribColorIndex

        public final int attribColorIndex
      • attribColorOffset

        public final int attribColorOffset
      • attribColorFormat

        public final int attribColorFormat
      • attribColorNormalized

        public final boolean attribColorNormalized
      • attribColorSize

        public final int attribColorSize
      • attribColorStride

        public final int attribColorStride
      • attribNormalEnabled

        public final boolean attribNormalEnabled
      • attribNormalIndex

        public final int attribNormalIndex
      • attribNormalOffset

        public final int attribNormalOffset
      • attribNormalFormat

        public final int attribNormalFormat
      • attribNormalNormalized

        public final boolean attribNormalNormalized
      • attribNormalSize

        public final int attribNormalSize
      • attribNormalStride

        public final int attribNormalStride
      • attribLightmapEnabled

        public final boolean attribLightmapEnabled
      • attribLightmapIndex

        public final int attribLightmapIndex
      • attribLightmapOffset

        public final int attribLightmapOffset
      • attribLightmapFormat

        public final int attribLightmapFormat
      • attribLightmapNormalized

        public final boolean attribLightmapNormalized
      • attribLightmapSize

        public final int attribLightmapSize
      • attribLightmapStride

        public final int attribLightmapStride
      • attribCount

        public final int attribCount
      • attribStride

        public final int attribStride
      • eaglercraftAttribBits

        public final int eaglercraftAttribBits
    • Method Detail

      • values

        public static VertexFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VertexFormat c : VertexFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VertexFormat valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null