枚举类 BufferType

java.lang.Object
java.lang.Enum<BufferType>
com.mojang.blaze3d.buffers.BufferType
所有已实现的接口:
Serializable, Comparable<BufferType>, Constable

public enum BufferType extends Enum<BufferType>
  • 枚举常量详细资料

    • VERTICES

      public static final BufferType VERTICES
    • INDICES

      public static final BufferType INDICES
    • PIXEL_PACK

      public static final BufferType PIXEL_PACK
    • COPY_READ

      public static final BufferType COPY_READ
    • COPY_WRITE

      public static final BufferType COPY_WRITE
    • PIXEL_UNPACK

      public static final BufferType PIXEL_UNPACK
    • UNIFORM

      public static final BufferType UNIFORM
  • 字段详细资料

    • id

      final int id
  • 构造器详细资料

    • BufferType

      private BufferType(int p_362116_)
  • 方法详细资料

    • values

      public static BufferType[] values()
      返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static BufferType valueOf(String name)
      返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值