Enum Class GpuFormat

java.lang.Object
java.lang.Enum<GpuFormat>
com.mojang.blaze3d.GpuFormat
All Implemented Interfaces:
Serializable, Comparable<GpuFormat>, Constable

public enum GpuFormat extends Enum<GpuFormat>
  • Enum Constant Details

    • R8_UNORM

      public static final GpuFormat R8_UNORM
    • R8_SNORM

      public static final GpuFormat R8_SNORM
    • RG8_UNORM

      public static final GpuFormat RG8_UNORM
    • RG8_SNORM

      public static final GpuFormat RG8_SNORM
    • RGB8_UNORM

      public static final GpuFormat RGB8_UNORM
    • RGB8_SNORM

      public static final GpuFormat RGB8_SNORM
    • RGBA8_UNORM

      public static final GpuFormat RGBA8_UNORM
    • RGBA8_SNORM

      public static final GpuFormat RGBA8_SNORM
    • R16_UNORM

      public static final GpuFormat R16_UNORM
    • R16_SNORM

      public static final GpuFormat R16_SNORM
    • RG16_UNORM

      public static final GpuFormat RG16_UNORM
    • RG16_SNORM

      public static final GpuFormat RG16_SNORM
    • RGB16_UNORM

      public static final GpuFormat RGB16_UNORM
    • RGB16_SNORM

      public static final GpuFormat RGB16_SNORM
    • RGBA16_UNORM

      public static final GpuFormat RGBA16_UNORM
    • RGBA16_SNORM

      public static final GpuFormat RGBA16_SNORM
    • R8_UINT

      public static final GpuFormat R8_UINT
    • R8_SINT

      public static final GpuFormat R8_SINT
    • RG8_UINT

      public static final GpuFormat RG8_UINT
    • RG8_SINT

      public static final GpuFormat RG8_SINT
    • RGB8_UINT

      public static final GpuFormat RGB8_UINT
    • RGB8_SINT

      public static final GpuFormat RGB8_SINT
    • RGBA8_UINT

      public static final GpuFormat RGBA8_UINT
    • RGBA8_SINT

      public static final GpuFormat RGBA8_SINT
    • R16_UINT

      public static final GpuFormat R16_UINT
    • R16_SINT

      public static final GpuFormat R16_SINT
    • RG16_UINT

      public static final GpuFormat RG16_UINT
    • RG16_SINT

      public static final GpuFormat RG16_SINT
    • RGB16_UINT

      public static final GpuFormat RGB16_UINT
    • RGB16_SINT

      public static final GpuFormat RGB16_SINT
    • RGBA16_UINT

      public static final GpuFormat RGBA16_UINT
    • RGBA16_SINT

      public static final GpuFormat RGBA16_SINT
    • R32_UINT

      public static final GpuFormat R32_UINT
    • R32_SINT

      public static final GpuFormat R32_SINT
    • RG32_UINT

      public static final GpuFormat RG32_UINT
    • RG32_SINT

      public static final GpuFormat RG32_SINT
    • RGB32_UINT

      public static final GpuFormat RGB32_UINT
    • RGB32_SINT

      public static final GpuFormat RGB32_SINT
    • RGBA32_UINT

      public static final GpuFormat RGBA32_UINT
    • RGBA32_SINT

      public static final GpuFormat RGBA32_SINT
    • R16_FLOAT

      public static final GpuFormat R16_FLOAT
    • RG16_FLOAT

      public static final GpuFormat RG16_FLOAT
    • RGB16_FLOAT

      public static final GpuFormat RGB16_FLOAT
    • RGBA16_FLOAT

      public static final GpuFormat RGBA16_FLOAT
    • R32_FLOAT

      public static final GpuFormat R32_FLOAT
    • RG32_FLOAT

      public static final GpuFormat RG32_FLOAT
    • RGB32_FLOAT

      public static final GpuFormat RGB32_FLOAT
    • RGBA32_FLOAT

      public static final GpuFormat RGBA32_FLOAT
    • RGB10A2_UNORM

      public static final GpuFormat RGB10A2_UNORM
    • RGB10A2_UINT

      public static final GpuFormat RGB10A2_UINT
    • RG11B10_FLOAT

      public static final GpuFormat RG11B10_FLOAT
    • D32_FLOAT

      public static final GpuFormat D32_FLOAT
    • D32_FLOAT_S8_UINT

      public static final GpuFormat D32_FLOAT_S8_UINT
    • D24_UNORM_S8_UINT

      public static final GpuFormat D24_UNORM_S8_UINT
    • D16_UNORM

      public static final GpuFormat D16_UNORM
    • S8_UINT

      public static final GpuFormat S8_UINT
  • Field Details

    • componentType

      private final GpuFormat.ComponentType componentType
    • componentCount

      private final int componentCount
  • Constructor Details

  • Method Details

    • values

      public static GpuFormat[] 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

      public static GpuFormat valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • blockSize

      public int blockSize()
    • byteAlignment

      public int byteAlignment()
    • componentType

      public GpuFormat.ComponentType componentType()
    • componentCount

      public int componentCount()
    • hasColorAspect

      public boolean hasColorAspect()
    • hasDepthAspect

      public boolean hasDepthAspect()
    • hasStencilAspect

      public boolean hasStencilAspect()