Package apple.metal.enums
Class MTLPixelFormat
- java.lang.Object
-
- apple.metal.enums.MTLPixelFormat
-
public final class MTLPixelFormat extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longA1BGR5UnormPacked 16 bit formatsstatic longA8UnormNormal 8 bit formatsstatic longABGR4UnormPacked 16 bit formatsstatic longASTC_10x10_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_10x10_LDRASTCstatic longASTC_10x10_sRGBASTCstatic longASTC_10x5_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_10x5_LDRASTCstatic longASTC_10x5_sRGBASTCstatic longASTC_10x6_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_10x6_LDRASTCstatic longASTC_10x6_sRGBASTCstatic longASTC_10x8_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_10x8_LDRASTCstatic longASTC_10x8_sRGBASTCstatic longASTC_12x10_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_12x10_LDRASTCstatic longASTC_12x10_sRGBASTCstatic longASTC_12x12_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_12x12_LDRASTCstatic longASTC_12x12_sRGBASTCstatic longASTC_4x4_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_4x4_LDRASTCstatic longASTC_4x4_sRGBASTCstatic longASTC_5x4_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_5x4_LDRASTCstatic longASTC_5x4_sRGBASTCstatic longASTC_5x5_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_5x5_LDRASTCstatic longASTC_5x5_sRGBASTCstatic longASTC_6x5_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_6x5_LDRASTCstatic longASTC_6x5_sRGBASTCstatic longASTC_6x6_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_6x6_LDRASTCstatic longASTC_6x6_sRGBASTCstatic longASTC_8x5_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_8x5_LDRASTCstatic longASTC_8x5_sRGBASTCstatic longASTC_8x6_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_8x6_LDRASTCstatic longASTC_8x6_sRGBASTCstatic longASTC_8x8_HDRASTC HDR (High Dynamic Range) Formatsstatic longASTC_8x8_LDRASTCstatic longASTC_8x8_sRGBASTCstatic longB5G6R5UnormPacked 16 bit formatsstatic longBGR10_XRPacked 32 bit formatsstatic longBGR10_XR_sRGBPacked 32 bit formatsstatic longBGR10A2UnormPacked 32 bit formatsstatic longBGR5A1UnormPacked 16 bit formatsstatic longBGRA10_XRNormal 64 bit formatsstatic longBGRA10_XR_sRGBNormal 64 bit formatsstatic longBGRA8UnormNormal 32 bit formatsstatic longBGRA8Unorm_sRGBNormal 32 bit formatsstatic longBGRG422[@constant] MTLPixelFormatBGRG422 A pixel format where the red and green channels are subsampled horizontally.static longDepth16UnormDepthstatic longDepth32FloatDepthstatic longDepth32Float_Stencil8Depth Stencilstatic longEAC_R11SnormETC2static longEAC_R11UnormETC2static longEAC_RG11SnormETC2static longEAC_RG11UnormETC2static longEAC_RGBA8ETC2static longEAC_RGBA8_sRGBETC2static longETC2_RGB8ETC2static longETC2_RGB8_sRGBETC2static longETC2_RGB8A1ETC2static longETC2_RGB8A1_sRGBETC2static longGBGR422[@constant] MTLPixelFormatGBGR422 A pixel format where the red and green channels are subsampled horizontally.static longInvalidstatic longPVRTC_RGB_2BPPPVRTCstatic longPVRTC_RGB_2BPP_sRGBPVRTCstatic longPVRTC_RGB_4BPPPVRTCstatic longPVRTC_RGB_4BPP_sRGBPVRTCstatic longPVRTC_RGBA_2BPPPVRTCstatic longPVRTC_RGBA_2BPP_sRGBPVRTCstatic longPVRTC_RGBA_4BPPPVRTCstatic longPVRTC_RGBA_4BPP_sRGBPVRTCstatic longR16FloatNormal 16 bit formatsstatic longR16SintNormal 16 bit formatsstatic longR16SnormNormal 16 bit formatsstatic longR16UintNormal 16 bit formatsstatic longR16UnormNormal 16 bit formatsstatic longR32FloatNormal 32 bit formatsstatic longR32SintNormal 32 bit formatsstatic longR32UintNormal 32 bit formatsstatic longR8SintNormal 8 bit formatsstatic longR8SnormNormal 8 bit formatsstatic longR8UintNormal 8 bit formatsstatic longR8UnormNormal 8 bit formatsstatic longR8Unorm_sRGBNormal 8 bit formatsstatic longRG11B10FloatPacked 32 bit formatsstatic longRG16FloatNormal 32 bit formatsstatic longRG16SintNormal 32 bit formatsstatic longRG16SnormNormal 32 bit formatsstatic longRG16UintNormal 32 bit formatsstatic longRG16UnormNormal 32 bit formatsstatic longRG32FloatNormal 64 bit formatsstatic longRG32SintNormal 64 bit formatsstatic longRG32UintNormal 64 bit formatsstatic longRG8SintNormal 16 bit formatsstatic longRG8SnormNormal 16 bit formatsstatic longRG8UintNormal 16 bit formatsstatic longRG8UnormNormal 16 bit formatsstatic longRG8Unorm_sRGBNormal 16 bit formatsstatic longRGB10A2UintPacked 32 bit formatsstatic longRGB10A2UnormPacked 32 bit formatsstatic longRGB9E5FloatPacked 32 bit formatsstatic longRGBA16FloatNormal 64 bit formatsstatic longRGBA16SintNormal 64 bit formatsstatic longRGBA16SnormNormal 64 bit formatsstatic longRGBA16UintNormal 64 bit formatsstatic longRGBA16UnormNormal 64 bit formatsstatic longRGBA32FloatNormal 128 bit formatsstatic longRGBA32SintNormal 128 bit formatsstatic longRGBA32UintNormal 128 bit formatsstatic longRGBA8SintNormal 32 bit formatsstatic longRGBA8SnormNormal 32 bit formatsstatic longRGBA8UintNormal 32 bit formatsstatic longRGBA8UnormNormal 32 bit formatsstatic longRGBA8Unorm_sRGBNormal 32 bit formatsstatic longStencil8Stencilstatic longX32_Stencil8Depth Stencil
-
-
-
Field Detail
-
Invalid
public static final long Invalid
- See Also:
- Constant Field Values
-
A8Unorm
public static final long A8Unorm
Normal 8 bit formats- See Also:
- Constant Field Values
-
R8Unorm
public static final long R8Unorm
Normal 8 bit formats- See Also:
- Constant Field Values
-
R8Unorm_sRGB
public static final long R8Unorm_sRGB
Normal 8 bit formats- See Also:
- Constant Field Values
-
R8Snorm
public static final long R8Snorm
Normal 8 bit formats- See Also:
- Constant Field Values
-
R8Uint
public static final long R8Uint
Normal 8 bit formats- See Also:
- Constant Field Values
-
R8Sint
public static final long R8Sint
Normal 8 bit formats- See Also:
- Constant Field Values
-
R16Unorm
public static final long R16Unorm
Normal 16 bit formats- See Also:
- Constant Field Values
-
R16Snorm
public static final long R16Snorm
Normal 16 bit formats- See Also:
- Constant Field Values
-
R16Uint
public static final long R16Uint
Normal 16 bit formats- See Also:
- Constant Field Values
-
R16Sint
public static final long R16Sint
Normal 16 bit formats- See Also:
- Constant Field Values
-
R16Float
public static final long R16Float
Normal 16 bit formats- See Also:
- Constant Field Values
-
RG8Unorm
public static final long RG8Unorm
Normal 16 bit formats- See Also:
- Constant Field Values
-
RG8Unorm_sRGB
public static final long RG8Unorm_sRGB
Normal 16 bit formats- See Also:
- Constant Field Values
-
RG8Snorm
public static final long RG8Snorm
Normal 16 bit formats- See Also:
- Constant Field Values
-
RG8Uint
public static final long RG8Uint
Normal 16 bit formats- See Also:
- Constant Field Values
-
RG8Sint
public static final long RG8Sint
Normal 16 bit formats- See Also:
- Constant Field Values
-
B5G6R5Unorm
public static final long B5G6R5Unorm
Packed 16 bit formats- See Also:
- Constant Field Values
-
A1BGR5Unorm
public static final long A1BGR5Unorm
Packed 16 bit formats- See Also:
- Constant Field Values
-
ABGR4Unorm
public static final long ABGR4Unorm
Packed 16 bit formats- See Also:
- Constant Field Values
-
BGR5A1Unorm
public static final long BGR5A1Unorm
Packed 16 bit formats- See Also:
- Constant Field Values
-
R32Uint
public static final long R32Uint
Normal 32 bit formats- See Also:
- Constant Field Values
-
R32Sint
public static final long R32Sint
Normal 32 bit formats- See Also:
- Constant Field Values
-
R32Float
public static final long R32Float
Normal 32 bit formats- See Also:
- Constant Field Values
-
RG16Unorm
public static final long RG16Unorm
Normal 32 bit formats- See Also:
- Constant Field Values
-
RG16Snorm
public static final long RG16Snorm
Normal 32 bit formats- See Also:
- Constant Field Values
-
RG16Uint
public static final long RG16Uint
Normal 32 bit formats- See Also:
- Constant Field Values
-
RG16Sint
public static final long RG16Sint
Normal 32 bit formats- See Also:
- Constant Field Values
-
RG16Float
public static final long RG16Float
Normal 32 bit formats- See Also:
- Constant Field Values
-
RGBA8Unorm
public static final long RGBA8Unorm
Normal 32 bit formats- See Also:
- Constant Field Values
-
RGBA8Unorm_sRGB
public static final long RGBA8Unorm_sRGB
Normal 32 bit formats- See Also:
- Constant Field Values
-
RGBA8Snorm
public static final long RGBA8Snorm
Normal 32 bit formats- See Also:
- Constant Field Values
-
RGBA8Uint
public static final long RGBA8Uint
Normal 32 bit formats- See Also:
- Constant Field Values
-
RGBA8Sint
public static final long RGBA8Sint
Normal 32 bit formats- See Also:
- Constant Field Values
-
BGRA8Unorm
public static final long BGRA8Unorm
Normal 32 bit formats- See Also:
- Constant Field Values
-
BGRA8Unorm_sRGB
public static final long BGRA8Unorm_sRGB
Normal 32 bit formats- See Also:
- Constant Field Values
-
RGB10A2Unorm
public static final long RGB10A2Unorm
Packed 32 bit formats- See Also:
- Constant Field Values
-
RGB10A2Uint
public static final long RGB10A2Uint
Packed 32 bit formats- See Also:
- Constant Field Values
-
RG11B10Float
public static final long RG11B10Float
Packed 32 bit formats- See Also:
- Constant Field Values
-
RGB9E5Float
public static final long RGB9E5Float
Packed 32 bit formats- See Also:
- Constant Field Values
-
BGR10_XR
public static final long BGR10_XR
Packed 32 bit formats- See Also:
- Constant Field Values
-
BGR10_XR_sRGB
public static final long BGR10_XR_sRGB
Packed 32 bit formats- See Also:
- Constant Field Values
-
RG32Uint
public static final long RG32Uint
Normal 64 bit formats- See Also:
- Constant Field Values
-
RG32Sint
public static final long RG32Sint
Normal 64 bit formats- See Also:
- Constant Field Values
-
RG32Float
public static final long RG32Float
Normal 64 bit formats- See Also:
- Constant Field Values
-
RGBA16Unorm
public static final long RGBA16Unorm
Normal 64 bit formats- See Also:
- Constant Field Values
-
RGBA16Snorm
public static final long RGBA16Snorm
Normal 64 bit formats- See Also:
- Constant Field Values
-
RGBA16Uint
public static final long RGBA16Uint
Normal 64 bit formats- See Also:
- Constant Field Values
-
RGBA16Sint
public static final long RGBA16Sint
Normal 64 bit formats- See Also:
- Constant Field Values
-
RGBA16Float
public static final long RGBA16Float
Normal 64 bit formats- See Also:
- Constant Field Values
-
BGRA10_XR
public static final long BGRA10_XR
Normal 64 bit formats- See Also:
- Constant Field Values
-
BGRA10_XR_sRGB
public static final long BGRA10_XR_sRGB
Normal 64 bit formats- See Also:
- Constant Field Values
-
RGBA32Uint
public static final long RGBA32Uint
Normal 128 bit formats- See Also:
- Constant Field Values
-
RGBA32Sint
public static final long RGBA32Sint
Normal 128 bit formats- See Also:
- Constant Field Values
-
RGBA32Float
public static final long RGBA32Float
Normal 128 bit formats- See Also:
- Constant Field Values
-
PVRTC_RGB_2BPP
public static final long PVRTC_RGB_2BPP
PVRTC- See Also:
- Constant Field Values
-
PVRTC_RGB_2BPP_sRGB
public static final long PVRTC_RGB_2BPP_sRGB
PVRTC- See Also:
- Constant Field Values
-
PVRTC_RGB_4BPP
public static final long PVRTC_RGB_4BPP
PVRTC- See Also:
- Constant Field Values
-
PVRTC_RGB_4BPP_sRGB
public static final long PVRTC_RGB_4BPP_sRGB
PVRTC- See Also:
- Constant Field Values
-
PVRTC_RGBA_2BPP
public static final long PVRTC_RGBA_2BPP
PVRTC- See Also:
- Constant Field Values
-
PVRTC_RGBA_2BPP_sRGB
public static final long PVRTC_RGBA_2BPP_sRGB
PVRTC- See Also:
- Constant Field Values
-
PVRTC_RGBA_4BPP
public static final long PVRTC_RGBA_4BPP
PVRTC- See Also:
- Constant Field Values
-
PVRTC_RGBA_4BPP_sRGB
public static final long PVRTC_RGBA_4BPP_sRGB
PVRTC- See Also:
- Constant Field Values
-
EAC_R11Unorm
public static final long EAC_R11Unorm
ETC2- See Also:
- Constant Field Values
-
EAC_R11Snorm
public static final long EAC_R11Snorm
ETC2- See Also:
- Constant Field Values
-
EAC_RG11Unorm
public static final long EAC_RG11Unorm
ETC2- See Also:
- Constant Field Values
-
EAC_RG11Snorm
public static final long EAC_RG11Snorm
ETC2- See Also:
- Constant Field Values
-
EAC_RGBA8
public static final long EAC_RGBA8
ETC2- See Also:
- Constant Field Values
-
EAC_RGBA8_sRGB
public static final long EAC_RGBA8_sRGB
ETC2- See Also:
- Constant Field Values
-
ETC2_RGB8
public static final long ETC2_RGB8
ETC2- See Also:
- Constant Field Values
-
ETC2_RGB8_sRGB
public static final long ETC2_RGB8_sRGB
ETC2- See Also:
- Constant Field Values
-
ETC2_RGB8A1
public static final long ETC2_RGB8A1
ETC2- See Also:
- Constant Field Values
-
ETC2_RGB8A1_sRGB
public static final long ETC2_RGB8A1_sRGB
ETC2- See Also:
- Constant Field Values
-
ASTC_4x4_sRGB
public static final long ASTC_4x4_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_5x4_sRGB
public static final long ASTC_5x4_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_5x5_sRGB
public static final long ASTC_5x5_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_6x5_sRGB
public static final long ASTC_6x5_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_6x6_sRGB
public static final long ASTC_6x6_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_8x5_sRGB
public static final long ASTC_8x5_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_8x6_sRGB
public static final long ASTC_8x6_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_8x8_sRGB
public static final long ASTC_8x8_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_10x5_sRGB
public static final long ASTC_10x5_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_10x6_sRGB
public static final long ASTC_10x6_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_10x8_sRGB
public static final long ASTC_10x8_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_10x10_sRGB
public static final long ASTC_10x10_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_12x10_sRGB
public static final long ASTC_12x10_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_12x12_sRGB
public static final long ASTC_12x12_sRGB
ASTC- See Also:
- Constant Field Values
-
ASTC_4x4_LDR
public static final long ASTC_4x4_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_5x4_LDR
public static final long ASTC_5x4_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_5x5_LDR
public static final long ASTC_5x5_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_6x5_LDR
public static final long ASTC_6x5_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_6x6_LDR
public static final long ASTC_6x6_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_8x5_LDR
public static final long ASTC_8x5_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_8x6_LDR
public static final long ASTC_8x6_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_8x8_LDR
public static final long ASTC_8x8_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_10x5_LDR
public static final long ASTC_10x5_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_10x6_LDR
public static final long ASTC_10x6_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_10x8_LDR
public static final long ASTC_10x8_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_10x10_LDR
public static final long ASTC_10x10_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_12x10_LDR
public static final long ASTC_12x10_LDR
ASTC- See Also:
- Constant Field Values
-
ASTC_12x12_LDR
public static final long ASTC_12x12_LDR
ASTC- See Also:
- Constant Field Values
-
GBGR422
public static final long GBGR422
[@constant] MTLPixelFormatGBGR422 A pixel format where the red and green channels are subsampled horizontally. Two pixels are stored in 32 bits, with shared red and blue values, and unique green values. This format is equivalent to YUY2, YUYV, yuvs, or GL_RGB_422_APPLE/GL_UNSIGNED_SHORT_8_8_REV_APPLE. The component order, from lowest addressed byte to highest, is Y0, Cb, Y1, Cr. There is no implicit colorspace conversion from YUV to RGB, the shader will receive (Cr, Y, Cb, 1). 422 textures must have a width that is a multiple of 2, and can only be used for 2D non-mipmap textures. When sampling, ClampToEdge is the only usable wrap mode.- See Also:
- Constant Field Values
-
BGRG422
public static final long BGRG422
[@constant] MTLPixelFormatBGRG422 A pixel format where the red and green channels are subsampled horizontally. Two pixels are stored in 32 bits, with shared red and blue values, and unique green values. This format is equivalent to UYVY, 2vuy, or GL_RGB_422_APPLE/GL_UNSIGNED_SHORT_8_8_APPLE. The component order, from lowest addressed byte to highest, is Cb, Y0, Cr, Y1. There is no implicit colorspace conversion from YUV to RGB, the shader will receive (Cr, Y, Cb, 1). 422 textures must have a width that is a multiple of 2, and can only be used for 2D non-mipmap textures. When sampling, ClampToEdge is the only usable wrap mode.- See Also:
- Constant Field Values
-
Depth32Float
public static final long Depth32Float
Depth- See Also:
- Constant Field Values
-
Stencil8
public static final long Stencil8
Stencil- See Also:
- Constant Field Values
-
Depth32Float_Stencil8
public static final long Depth32Float_Stencil8
Depth Stencil- See Also:
- Constant Field Values
-
X32_Stencil8
public static final long X32_Stencil8
Depth Stencil- See Also:
- Constant Field Values
-
BGR10A2Unorm
public static final long BGR10A2Unorm
Packed 32 bit formats- See Also:
- Constant Field Values
-
ASTC_4x4_HDR
public static final long ASTC_4x4_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_5x4_HDR
public static final long ASTC_5x4_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_5x5_HDR
public static final long ASTC_5x5_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_6x5_HDR
public static final long ASTC_6x5_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_6x6_HDR
public static final long ASTC_6x6_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_8x5_HDR
public static final long ASTC_8x5_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_8x6_HDR
public static final long ASTC_8x6_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_8x8_HDR
public static final long ASTC_8x8_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_10x5_HDR
public static final long ASTC_10x5_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_10x6_HDR
public static final long ASTC_10x6_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_10x8_HDR
public static final long ASTC_10x8_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_10x10_HDR
public static final long ASTC_10x10_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_12x10_HDR
public static final long ASTC_12x10_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
ASTC_12x12_HDR
public static final long ASTC_12x12_HDR
ASTC HDR (High Dynamic Range) Formats- See Also:
- Constant Field Values
-
Depth16Unorm
public static final long Depth16Unorm
Depth- See Also:
- Constant Field Values
-
-