Struct screen_13::prelude::vk::Format

source ·
pub struct Format(_);
Expand description

Implementations§

source§

impl Format

source

pub const fn from_raw(x: i32) -> Format

source

pub const fn as_raw(self) -> i32

source§

impl Format

source

pub const UNDEFINED: Format = Self(0)

source

pub const R4G4_UNORM_PACK8: Format = Self(1)

source

pub const R4G4B4A4_UNORM_PACK16: Format = Self(2)

source

pub const B4G4R4A4_UNORM_PACK16: Format = Self(3)

source

pub const R5G6B5_UNORM_PACK16: Format = Self(4)

source

pub const B5G6R5_UNORM_PACK16: Format = Self(5)

source

pub const R5G5B5A1_UNORM_PACK16: Format = Self(6)

source

pub const B5G5R5A1_UNORM_PACK16: Format = Self(7)

source

pub const A1R5G5B5_UNORM_PACK16: Format = Self(8)

source

pub const R8_UNORM: Format = Self(9)

source

pub const R8_SNORM: Format = Self(10)

source

pub const R8_USCALED: Format = Self(11)

source

pub const R8_SSCALED: Format = Self(12)

source

pub const R8_UINT: Format = Self(13)

source

pub const R8_SINT: Format = Self(14)

source

pub const R8_SRGB: Format = Self(15)

source

pub const R8G8_UNORM: Format = Self(16)

source

pub const R8G8_SNORM: Format = Self(17)

source

pub const R8G8_USCALED: Format = Self(18)

source

pub const R8G8_SSCALED: Format = Self(19)

source

pub const R8G8_UINT: Format = Self(20)

source

pub const R8G8_SINT: Format = Self(21)

source

pub const R8G8_SRGB: Format = Self(22)

source

pub const R8G8B8_UNORM: Format = Self(23)

source

pub const R8G8B8_SNORM: Format = Self(24)

source

pub const R8G8B8_USCALED: Format = Self(25)

source

pub const R8G8B8_SSCALED: Format = Self(26)

source

pub const R8G8B8_UINT: Format = Self(27)

source

pub const R8G8B8_SINT: Format = Self(28)

source

pub const R8G8B8_SRGB: Format = Self(29)

source

pub const B8G8R8_UNORM: Format = Self(30)

source

pub const B8G8R8_SNORM: Format = Self(31)

source

pub const B8G8R8_USCALED: Format = Self(32)

source

pub const B8G8R8_SSCALED: Format = Self(33)

source

pub const B8G8R8_UINT: Format = Self(34)

source

pub const B8G8R8_SINT: Format = Self(35)

source

pub const B8G8R8_SRGB: Format = Self(36)

source

pub const R8G8B8A8_UNORM: Format = Self(37)

source

pub const R8G8B8A8_SNORM: Format = Self(38)

source

pub const R8G8B8A8_USCALED: Format = Self(39)

source

pub const R8G8B8A8_SSCALED: Format = Self(40)

source

pub const R8G8B8A8_UINT: Format = Self(41)

source

pub const R8G8B8A8_SINT: Format = Self(42)

source

pub const R8G8B8A8_SRGB: Format = Self(43)

source

pub const B8G8R8A8_UNORM: Format = Self(44)

source

pub const B8G8R8A8_SNORM: Format = Self(45)

source

pub const B8G8R8A8_USCALED: Format = Self(46)

source

pub const B8G8R8A8_SSCALED: Format = Self(47)

source

pub const B8G8R8A8_UINT: Format = Self(48)

source

pub const B8G8R8A8_SINT: Format = Self(49)

source

pub const B8G8R8A8_SRGB: Format = Self(50)

source

pub const A8B8G8R8_UNORM_PACK32: Format = Self(51)

source

pub const A8B8G8R8_SNORM_PACK32: Format = Self(52)

source

pub const A8B8G8R8_USCALED_PACK32: Format = Self(53)

source

pub const A8B8G8R8_SSCALED_PACK32: Format = Self(54)

source

pub const A8B8G8R8_UINT_PACK32: Format = Self(55)

source

pub const A8B8G8R8_SINT_PACK32: Format = Self(56)

source

pub const A8B8G8R8_SRGB_PACK32: Format = Self(57)

source

pub const A2R10G10B10_UNORM_PACK32: Format = Self(58)

source

pub const A2R10G10B10_SNORM_PACK32: Format = Self(59)

source

pub const A2R10G10B10_USCALED_PACK32: Format = Self(60)

source

pub const A2R10G10B10_SSCALED_PACK32: Format = Self(61)

source

pub const A2R10G10B10_UINT_PACK32: Format = Self(62)

source

pub const A2R10G10B10_SINT_PACK32: Format = Self(63)

source

pub const A2B10G10R10_UNORM_PACK32: Format = Self(64)

source

pub const A2B10G10R10_SNORM_PACK32: Format = Self(65)

source

pub const A2B10G10R10_USCALED_PACK32: Format = Self(66)

source

pub const A2B10G10R10_SSCALED_PACK32: Format = Self(67)

source

pub const A2B10G10R10_UINT_PACK32: Format = Self(68)

source

pub const A2B10G10R10_SINT_PACK32: Format = Self(69)

source

pub const R16_UNORM: Format = Self(70)

source

pub const R16_SNORM: Format = Self(71)

source

pub const R16_USCALED: Format = Self(72)

source

pub const R16_SSCALED: Format = Self(73)

source

pub const R16_UINT: Format = Self(74)

source

pub const R16_SINT: Format = Self(75)

source

pub const R16_SFLOAT: Format = Self(76)

source

pub const R16G16_UNORM: Format = Self(77)

source

pub const R16G16_SNORM: Format = Self(78)

source

pub const R16G16_USCALED: Format = Self(79)

source

pub const R16G16_SSCALED: Format = Self(80)

source

pub const R16G16_UINT: Format = Self(81)

source

pub const R16G16_SINT: Format = Self(82)

source

pub const R16G16_SFLOAT: Format = Self(83)

source

pub const R16G16B16_UNORM: Format = Self(84)

source

pub const R16G16B16_SNORM: Format = Self(85)

source

pub const R16G16B16_USCALED: Format = Self(86)

source

pub const R16G16B16_SSCALED: Format = Self(87)

source

pub const R16G16B16_UINT: Format = Self(88)

source

pub const R16G16B16_SINT: Format = Self(89)

source

pub const R16G16B16_SFLOAT: Format = Self(90)

source

pub const R16G16B16A16_UNORM: Format = Self(91)

source

pub const R16G16B16A16_SNORM: Format = Self(92)

source

pub const R16G16B16A16_USCALED: Format = Self(93)

source

pub const R16G16B16A16_SSCALED: Format = Self(94)

source

pub const R16G16B16A16_UINT: Format = Self(95)

source

pub const R16G16B16A16_SINT: Format = Self(96)

source

pub const R16G16B16A16_SFLOAT: Format = Self(97)

source

pub const R32_UINT: Format = Self(98)

source

pub const R32_SINT: Format = Self(99)

source

pub const R32_SFLOAT: Format = Self(100)

source

pub const R32G32_UINT: Format = Self(101)

source

pub const R32G32_SINT: Format = Self(102)

source

pub const R32G32_SFLOAT: Format = Self(103)

source

pub const R32G32B32_UINT: Format = Self(104)

source

pub const R32G32B32_SINT: Format = Self(105)

source

pub const R32G32B32_SFLOAT: Format = Self(106)

source

pub const R32G32B32A32_UINT: Format = Self(107)

source

pub const R32G32B32A32_SINT: Format = Self(108)

source

pub const R32G32B32A32_SFLOAT: Format = Self(109)

source

pub const R64_UINT: Format = Self(110)

source

pub const R64_SINT: Format = Self(111)

source

pub const R64_SFLOAT: Format = Self(112)

source

pub const R64G64_UINT: Format = Self(113)

source

pub const R64G64_SINT: Format = Self(114)

source

pub const R64G64_SFLOAT: Format = Self(115)

source

pub const R64G64B64_UINT: Format = Self(116)

source

pub const R64G64B64_SINT: Format = Self(117)

source

pub const R64G64B64_SFLOAT: Format = Self(118)

source

pub const R64G64B64A64_UINT: Format = Self(119)

source

pub const R64G64B64A64_SINT: Format = Self(120)

source

pub const R64G64B64A64_SFLOAT: Format = Self(121)

source

pub const B10G11R11_UFLOAT_PACK32: Format = Self(122)

source

pub const E5B9G9R9_UFLOAT_PACK32: Format = Self(123)

source

pub const D16_UNORM: Format = Self(124)

source

pub const X8_D24_UNORM_PACK32: Format = Self(125)

source

pub const D32_SFLOAT: Format = Self(126)

source

pub const S8_UINT: Format = Self(127)

source

pub const D16_UNORM_S8_UINT: Format = Self(128)

source

pub const D24_UNORM_S8_UINT: Format = Self(129)

source

pub const D32_SFLOAT_S8_UINT: Format = Self(130)

source

pub const BC1_RGB_UNORM_BLOCK: Format = Self(131)

source

pub const BC1_RGB_SRGB_BLOCK: Format = Self(132)

source

pub const BC1_RGBA_UNORM_BLOCK: Format = Self(133)

source

pub const BC1_RGBA_SRGB_BLOCK: Format = Self(134)

source

pub const BC2_UNORM_BLOCK: Format = Self(135)

source

pub const BC2_SRGB_BLOCK: Format = Self(136)

source

pub const BC3_UNORM_BLOCK: Format = Self(137)

source

pub const BC3_SRGB_BLOCK: Format = Self(138)

source

pub const BC4_UNORM_BLOCK: Format = Self(139)

source

pub const BC4_SNORM_BLOCK: Format = Self(140)

source

pub const BC5_UNORM_BLOCK: Format = Self(141)

source

pub const BC5_SNORM_BLOCK: Format = Self(142)

source

pub const BC6H_UFLOAT_BLOCK: Format = Self(143)

source

pub const BC6H_SFLOAT_BLOCK: Format = Self(144)

source

pub const BC7_UNORM_BLOCK: Format = Self(145)

source

pub const BC7_SRGB_BLOCK: Format = Self(146)

source

pub const ETC2_R8G8B8_UNORM_BLOCK: Format = Self(147)

source

pub const ETC2_R8G8B8_SRGB_BLOCK: Format = Self(148)

source

pub const ETC2_R8G8B8A1_UNORM_BLOCK: Format = Self(149)

source

pub const ETC2_R8G8B8A1_SRGB_BLOCK: Format = Self(150)

source

pub const ETC2_R8G8B8A8_UNORM_BLOCK: Format = Self(151)

source

pub const ETC2_R8G8B8A8_SRGB_BLOCK: Format = Self(152)

source

pub const EAC_R11_UNORM_BLOCK: Format = Self(153)

source

pub const EAC_R11_SNORM_BLOCK: Format = Self(154)

source

pub const EAC_R11G11_UNORM_BLOCK: Format = Self(155)

source

pub const EAC_R11G11_SNORM_BLOCK: Format = Self(156)

source

pub const ASTC_4X4_UNORM_BLOCK: Format = Self(157)

source

pub const ASTC_4X4_SRGB_BLOCK: Format = Self(158)

source

pub const ASTC_5X4_UNORM_BLOCK: Format = Self(159)

source

pub const ASTC_5X4_SRGB_BLOCK: Format = Self(160)

source

pub const ASTC_5X5_UNORM_BLOCK: Format = Self(161)

source

pub const ASTC_5X5_SRGB_BLOCK: Format = Self(162)

source

pub const ASTC_6X5_UNORM_BLOCK: Format = Self(163)

source

pub const ASTC_6X5_SRGB_BLOCK: Format = Self(164)

source

pub const ASTC_6X6_UNORM_BLOCK: Format = Self(165)

source

pub const ASTC_6X6_SRGB_BLOCK: Format = Self(166)

source

pub const ASTC_8X5_UNORM_BLOCK: Format = Self(167)

source

pub const ASTC_8X5_SRGB_BLOCK: Format = Self(168)

source

pub const ASTC_8X6_UNORM_BLOCK: Format = Self(169)

source

pub const ASTC_8X6_SRGB_BLOCK: Format = Self(170)

source

pub const ASTC_8X8_UNORM_BLOCK: Format = Self(171)

source

pub const ASTC_8X8_SRGB_BLOCK: Format = Self(172)

source

pub const ASTC_10X5_UNORM_BLOCK: Format = Self(173)

source

pub const ASTC_10X5_SRGB_BLOCK: Format = Self(174)

source

pub const ASTC_10X6_UNORM_BLOCK: Format = Self(175)

source

pub const ASTC_10X6_SRGB_BLOCK: Format = Self(176)

source

pub const ASTC_10X8_UNORM_BLOCK: Format = Self(177)

source

pub const ASTC_10X8_SRGB_BLOCK: Format = Self(178)

source

pub const ASTC_10X10_UNORM_BLOCK: Format = Self(179)

source

pub const ASTC_10X10_SRGB_BLOCK: Format = Self(180)

source

pub const ASTC_12X10_UNORM_BLOCK: Format = Self(181)

source

pub const ASTC_12X10_SRGB_BLOCK: Format = Self(182)

source

pub const ASTC_12X12_UNORM_BLOCK: Format = Self(183)

source

pub const ASTC_12X12_SRGB_BLOCK: Format = Self(184)

source§

impl Format

Generated from ‘VK_IMG_format_pvrtc’

source

pub const PVRTC1_2BPP_UNORM_BLOCK_IMG: Format = Self(1000054000)

source

pub const PVRTC1_4BPP_UNORM_BLOCK_IMG: Format = Self(1000054001)

source

pub const PVRTC2_2BPP_UNORM_BLOCK_IMG: Format = Self(1000054002)

source

pub const PVRTC2_4BPP_UNORM_BLOCK_IMG: Format = Self(1000054003)

source

pub const PVRTC1_2BPP_SRGB_BLOCK_IMG: Format = Self(1000054004)

source

pub const PVRTC1_4BPP_SRGB_BLOCK_IMG: Format = Self(1000054005)

source

pub const PVRTC2_2BPP_SRGB_BLOCK_IMG: Format = Self(1000054006)

source

pub const PVRTC2_4BPP_SRGB_BLOCK_IMG: Format = Self(1000054007)

source§

impl Format

Generated from ‘VK_EXT_texture_compression_astc_hdr’

source

pub const ASTC_4X4_SFLOAT_BLOCK_EXT: Format = Self::ASTC_4X4_SFLOAT_BLOCK

source

pub const ASTC_5X4_SFLOAT_BLOCK_EXT: Format = Self::ASTC_5X4_SFLOAT_BLOCK

source

pub const ASTC_5X5_SFLOAT_BLOCK_EXT: Format = Self::ASTC_5X5_SFLOAT_BLOCK

source

pub const ASTC_6X5_SFLOAT_BLOCK_EXT: Format = Self::ASTC_6X5_SFLOAT_BLOCK

source

pub const ASTC_6X6_SFLOAT_BLOCK_EXT: Format = Self::ASTC_6X6_SFLOAT_BLOCK

source

pub const ASTC_8X5_SFLOAT_BLOCK_EXT: Format = Self::ASTC_8X5_SFLOAT_BLOCK

source

pub const ASTC_8X6_SFLOAT_BLOCK_EXT: Format = Self::ASTC_8X6_SFLOAT_BLOCK

source

pub const ASTC_8X8_SFLOAT_BLOCK_EXT: Format = Self::ASTC_8X8_SFLOAT_BLOCK

source

pub const ASTC_10X5_SFLOAT_BLOCK_EXT: Format = Self::ASTC_10X5_SFLOAT_BLOCK

source

pub const ASTC_10X6_SFLOAT_BLOCK_EXT: Format = Self::ASTC_10X6_SFLOAT_BLOCK

source

pub const ASTC_10X8_SFLOAT_BLOCK_EXT: Format = Self::ASTC_10X8_SFLOAT_BLOCK

source

pub const ASTC_10X10_SFLOAT_BLOCK_EXT: Format = Self::ASTC_10X10_SFLOAT_BLOCK

source

pub const ASTC_12X10_SFLOAT_BLOCK_EXT: Format = Self::ASTC_12X10_SFLOAT_BLOCK

source

pub const ASTC_12X12_SFLOAT_BLOCK_EXT: Format = Self::ASTC_12X12_SFLOAT_BLOCK

source§

impl Format

Generated from ‘VK_KHR_sampler_ycbcr_conversion’

source

pub const G8B8G8R8_422_UNORM_KHR: Format = Self::G8B8G8R8_422_UNORM

source

pub const B8G8R8G8_422_UNORM_KHR: Format = Self::B8G8R8G8_422_UNORM

source

pub const G8_B8_R8_3PLANE_420_UNORM_KHR: Format = Self::G8_B8_R8_3PLANE_420_UNORM

source

pub const G8_B8R8_2PLANE_420_UNORM_KHR: Format = Self::G8_B8R8_2PLANE_420_UNORM

source

pub const G8_B8_R8_3PLANE_422_UNORM_KHR: Format = Self::G8_B8_R8_3PLANE_422_UNORM

source

pub const G8_B8R8_2PLANE_422_UNORM_KHR: Format = Self::G8_B8R8_2PLANE_422_UNORM

source

pub const G8_B8_R8_3PLANE_444_UNORM_KHR: Format = Self::G8_B8_R8_3PLANE_444_UNORM

source

pub const R10X6_UNORM_PACK16_KHR: Format = Self::R10X6_UNORM_PACK16

source

pub const R10X6G10X6_UNORM_2PACK16_KHR: Format = Self::R10X6G10X6_UNORM_2PACK16

source

pub const R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR: Format = Self::R10X6G10X6B10X6A10X6_UNORM_4PACK16

source

pub const G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR: Format = Self::G10X6B10X6G10X6R10X6_422_UNORM_4PACK16

source

pub const B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR: Format = Self::B10X6G10X6R10X6G10X6_422_UNORM_4PACK16

source

pub const G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR: Format = Self::G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16

source

pub const G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR: Format = Self::G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16

source

pub const G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR: Format = Self::G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16

source

pub const G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR: Format = Self::G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16

source

pub const G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR: Format = Self::G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16

source

pub const R12X4_UNORM_PACK16_KHR: Format = Self::R12X4_UNORM_PACK16

source

pub const R12X4G12X4_UNORM_2PACK16_KHR: Format = Self::R12X4G12X4_UNORM_2PACK16

source

pub const R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR: Format = Self::R12X4G12X4B12X4A12X4_UNORM_4PACK16

source

pub const G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR: Format = Self::G12X4B12X4G12X4R12X4_422_UNORM_4PACK16

source

pub const B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR: Format = Self::B12X4G12X4R12X4G12X4_422_UNORM_4PACK16

source

pub const G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR: Format = Self::G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16

source

pub const G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR: Format = Self::G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16

source

pub const G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR: Format = Self::G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16

source

pub const G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR: Format = Self::G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16

source

pub const G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR: Format = Self::G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16

source

pub const G16B16G16R16_422_UNORM_KHR: Format = Self::G16B16G16R16_422_UNORM

source

pub const B16G16R16G16_422_UNORM_KHR: Format = Self::B16G16R16G16_422_UNORM

source

pub const G16_B16_R16_3PLANE_420_UNORM_KHR: Format = Self::G16_B16_R16_3PLANE_420_UNORM

source

pub const G16_B16R16_2PLANE_420_UNORM_KHR: Format = Self::G16_B16R16_2PLANE_420_UNORM

source

pub const G16_B16_R16_3PLANE_422_UNORM_KHR: Format = Self::G16_B16_R16_3PLANE_422_UNORM

source

pub const G16_B16R16_2PLANE_422_UNORM_KHR: Format = Self::G16_B16R16_2PLANE_422_UNORM

source

pub const G16_B16_R16_3PLANE_444_UNORM_KHR: Format = Self::G16_B16_R16_3PLANE_444_UNORM

source§

impl Format

Generated from ‘VK_EXT_extension_289’

source

pub const ASTC_3X3X3_UNORM_BLOCK_EXT: Format = Self(1000288000)

source

pub const ASTC_3X3X3_SRGB_BLOCK_EXT: Format = Self(1000288001)

source

pub const ASTC_3X3X3_SFLOAT_BLOCK_EXT: Format = Self(1000288002)

source

pub const ASTC_4X3X3_UNORM_BLOCK_EXT: Format = Self(1000288003)

source

pub const ASTC_4X3X3_SRGB_BLOCK_EXT: Format = Self(1000288004)

source

pub const ASTC_4X3X3_SFLOAT_BLOCK_EXT: Format = Self(1000288005)

source

pub const ASTC_4X4X3_UNORM_BLOCK_EXT: Format = Self(1000288006)

source

pub const ASTC_4X4X3_SRGB_BLOCK_EXT: Format = Self(1000288007)

source

pub const ASTC_4X4X3_SFLOAT_BLOCK_EXT: Format = Self(1000288008)

source

pub const ASTC_4X4X4_UNORM_BLOCK_EXT: Format = Self(1000288009)

source

pub const ASTC_4X4X4_SRGB_BLOCK_EXT: Format = Self(1000288010)

source

pub const ASTC_4X4X4_SFLOAT_BLOCK_EXT: Format = Self(1000288011)

source

pub const ASTC_5X4X4_UNORM_BLOCK_EXT: Format = Self(1000288012)

source

pub const ASTC_5X4X4_SRGB_BLOCK_EXT: Format = Self(1000288013)

source

pub const ASTC_5X4X4_SFLOAT_BLOCK_EXT: Format = Self(1000288014)

source

pub const ASTC_5X5X4_UNORM_BLOCK_EXT: Format = Self(1000288015)

source

pub const ASTC_5X5X4_SRGB_BLOCK_EXT: Format = Self(1000288016)

source

pub const ASTC_5X5X4_SFLOAT_BLOCK_EXT: Format = Self(1000288017)

source

pub const ASTC_5X5X5_UNORM_BLOCK_EXT: Format = Self(1000288018)

source

pub const ASTC_5X5X5_SRGB_BLOCK_EXT: Format = Self(1000288019)

source

pub const ASTC_5X5X5_SFLOAT_BLOCK_EXT: Format = Self(1000288020)

source

pub const ASTC_6X5X5_UNORM_BLOCK_EXT: Format = Self(1000288021)

source

pub const ASTC_6X5X5_SRGB_BLOCK_EXT: Format = Self(1000288022)

source

pub const ASTC_6X5X5_SFLOAT_BLOCK_EXT: Format = Self(1000288023)

source

pub const ASTC_6X6X5_UNORM_BLOCK_EXT: Format = Self(1000288024)

source

pub const ASTC_6X6X5_SRGB_BLOCK_EXT: Format = Self(1000288025)

source

pub const ASTC_6X6X5_SFLOAT_BLOCK_EXT: Format = Self(1000288026)

source

pub const ASTC_6X6X6_UNORM_BLOCK_EXT: Format = Self(1000288027)

source

pub const ASTC_6X6X6_SRGB_BLOCK_EXT: Format = Self(1000288028)

source

pub const ASTC_6X6X6_SFLOAT_BLOCK_EXT: Format = Self(1000288029)

source§

impl Format

Generated from ‘VK_EXT_ycbcr_2plane_444_formats’

source

pub const G8_B8R8_2PLANE_444_UNORM_EXT: Format = Self::G8_B8R8_2PLANE_444_UNORM

source

pub const G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT: Format = Self::G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16

source

pub const G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16_EXT: Format = Self::G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16

source

pub const G16_B16R16_2PLANE_444_UNORM_EXT: Format = Self::G16_B16R16_2PLANE_444_UNORM

source§

impl Format

Generated from ‘VK_EXT_4444_formats’

source

pub const A4R4G4B4_UNORM_PACK16_EXT: Format = Self::A4R4G4B4_UNORM_PACK16

source

pub const A4B4G4R4_UNORM_PACK16_EXT: Format = Self::A4B4G4R4_UNORM_PACK16

source§

impl Format

Generated from ‘VK_NV_optical_flow’

source

pub const R16G16_S10_5_NV: Format = Self(1000464000)

source§

impl Format

Generated from ‘VK_VERSION_1_1’

source

pub const G8B8G8R8_422_UNORM: Format = Self(1000156000)

source

pub const B8G8R8G8_422_UNORM: Format = Self(1000156001)

source

pub const G8_B8_R8_3PLANE_420_UNORM: Format = Self(1000156002)

source

pub const G8_B8R8_2PLANE_420_UNORM: Format = Self(1000156003)

source

pub const G8_B8_R8_3PLANE_422_UNORM: Format = Self(1000156004)

source

pub const G8_B8R8_2PLANE_422_UNORM: Format = Self(1000156005)

source

pub const G8_B8_R8_3PLANE_444_UNORM: Format = Self(1000156006)

source

pub const R10X6_UNORM_PACK16: Format = Self(1000156007)

source

pub const R10X6G10X6_UNORM_2PACK16: Format = Self(1000156008)

source

pub const R10X6G10X6B10X6A10X6_UNORM_4PACK16: Format = Self(1000156009)

source

pub const G10X6B10X6G10X6R10X6_422_UNORM_4PACK16: Format = Self(1000156010)

source

pub const B10X6G10X6R10X6G10X6_422_UNORM_4PACK16: Format = Self(1000156011)

source

pub const G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16: Format = Self(1000156012)

source

pub const G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16: Format = Self(1000156013)

source

pub const G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16: Format = Self(1000156014)

source

pub const G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16: Format = Self(1000156015)

source

pub const G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16: Format = Self(1000156016)

source

pub const R12X4_UNORM_PACK16: Format = Self(1000156017)

source

pub const R12X4G12X4_UNORM_2PACK16: Format = Self(1000156018)

source

pub const R12X4G12X4B12X4A12X4_UNORM_4PACK16: Format = Self(1000156019)

source

pub const G12X4B12X4G12X4R12X4_422_UNORM_4PACK16: Format = Self(1000156020)

source

pub const B12X4G12X4R12X4G12X4_422_UNORM_4PACK16: Format = Self(1000156021)

source

pub const G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16: Format = Self(1000156022)

source

pub const G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16: Format = Self(1000156023)

source

pub const G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16: Format = Self(1000156024)

source

pub const G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16: Format = Self(1000156025)

source

pub const G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16: Format = Self(1000156026)

source

pub const G16B16G16R16_422_UNORM: Format = Self(1000156027)

source

pub const B16G16R16G16_422_UNORM: Format = Self(1000156028)

source

pub const G16_B16_R16_3PLANE_420_UNORM: Format = Self(1000156029)

source

pub const G16_B16R16_2PLANE_420_UNORM: Format = Self(1000156030)

source

pub const G16_B16_R16_3PLANE_422_UNORM: Format = Self(1000156031)

source

pub const G16_B16R16_2PLANE_422_UNORM: Format = Self(1000156032)

source

pub const G16_B16_R16_3PLANE_444_UNORM: Format = Self(1000156033)

source§

impl Format

Generated from ‘VK_VERSION_1_3’

source

pub const G8_B8R8_2PLANE_444_UNORM: Format = Self(1000330000)

source

pub const G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16: Format = Self(1000330001)

source

pub const G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16: Format = Self(1000330002)

source

pub const G16_B16R16_2PLANE_444_UNORM: Format = Self(1000330003)

source

pub const A4R4G4B4_UNORM_PACK16: Format = Self(1000340000)

source

pub const A4B4G4R4_UNORM_PACK16: Format = Self(1000340001)

source

pub const ASTC_4X4_SFLOAT_BLOCK: Format = Self(1000066000)

source

pub const ASTC_5X4_SFLOAT_BLOCK: Format = Self(1000066001)

source

pub const ASTC_5X5_SFLOAT_BLOCK: Format = Self(1000066002)

source

pub const ASTC_6X5_SFLOAT_BLOCK: Format = Self(1000066003)

source

pub const ASTC_6X6_SFLOAT_BLOCK: Format = Self(1000066004)

source

pub const ASTC_8X5_SFLOAT_BLOCK: Format = Self(1000066005)

source

pub const ASTC_8X6_SFLOAT_BLOCK: Format = Self(1000066006)

source

pub const ASTC_8X8_SFLOAT_BLOCK: Format = Self(1000066007)

source

pub const ASTC_10X5_SFLOAT_BLOCK: Format = Self(1000066008)

source

pub const ASTC_10X6_SFLOAT_BLOCK: Format = Self(1000066009)

source

pub const ASTC_10X8_SFLOAT_BLOCK: Format = Self(1000066010)

source

pub const ASTC_10X10_SFLOAT_BLOCK: Format = Self(1000066011)

source

pub const ASTC_12X10_SFLOAT_BLOCK: Format = Self(1000066012)

source

pub const ASTC_12X12_SFLOAT_BLOCK: Format = Self(1000066013)

Trait Implementations§

source§

impl Clone for Format

source§

fn clone(&self) -> Format

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Format

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Format

source§

fn default() -> Format

Returns the “default value” for a type. Read more
source§

impl Hash for Format

source§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Format

source§

fn cmp(&self, other: &Format) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Format> for Format

source§

fn eq(&self, other: &Format) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Format> for Format

source§

fn partial_cmp(&self, other: &Format) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for Format

source§

impl Eq for Format

source§

impl StructuralEq for Format

source§

impl StructuralPartialEq for Format

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.