Trait vulkano::format::FormatDesc
[−]
[src]
pub unsafe trait FormatDesc { type ClearValue; fn format(&self) -> Format; fn decode_clear_value(&self, _: Self::ClearValue) -> ClearValue; }
Associated Types
type ClearValue
Required Methods
fn format(&self) -> Format
fn decode_clear_value(&self, _: Self::ClearValue) -> ClearValue
Implementors
impl FormatDesc for R4G4UnormPack8 type ClearValue = [f32; 2];
impl FormatDesc for R4G4B4A4UnormPack16 type ClearValue = [f32; 4];
impl FormatDesc for B4G4R4A4UnormPack16 type ClearValue = [f32; 4];
impl FormatDesc for R5G6B5UnormPack16 type ClearValue = [f32; 3];
impl FormatDesc for B5G6R5UnormPack16 type ClearValue = [f32; 3];
impl FormatDesc for R5G5B5A1UnormPack16 type ClearValue = [f32; 4];
impl FormatDesc for B5G5R5A1UnormPack16 type ClearValue = [f32; 4];
impl FormatDesc for A1R5G5B5UnormPack16 type ClearValue = [f32; 4];
impl FormatDesc for R8Unorm type ClearValue = [f32; 1];
impl FormatDesc for R8Snorm type ClearValue = [f32; 1];
impl FormatDesc for R8Uscaled type ClearValue = [f32; 1];
impl FormatDesc for R8Sscaled type ClearValue = [f32; 1];
impl FormatDesc for R8Uint type ClearValue = [u32; 1];
impl FormatDesc for R8Sint type ClearValue = [i32; 1];
impl FormatDesc for R8Srgb type ClearValue = [f32; 1];
impl FormatDesc for R8G8Unorm type ClearValue = [f32; 2];
impl FormatDesc for R8G8Snorm type ClearValue = [f32; 2];
impl FormatDesc for R8G8Uscaled type ClearValue = [f32; 2];
impl FormatDesc for R8G8Sscaled type ClearValue = [f32; 2];
impl FormatDesc for R8G8Uint type ClearValue = [u32; 2];
impl FormatDesc for R8G8Sint type ClearValue = [i32; 2];
impl FormatDesc for R8G8Srgb type ClearValue = [f32; 2];
impl FormatDesc for R8G8B8Unorm type ClearValue = [f32; 3];
impl FormatDesc for R8G8B8Snorm type ClearValue = [f32; 3];
impl FormatDesc for R8G8B8Uscaled type ClearValue = [f32; 3];
impl FormatDesc for R8G8B8Sscaled type ClearValue = [f32; 3];
impl FormatDesc for R8G8B8Uint type ClearValue = [u32; 3];
impl FormatDesc for R8G8B8Sint type ClearValue = [i32; 3];
impl FormatDesc for R8G8B8Srgb type ClearValue = [f32; 3];
impl FormatDesc for B8G8R8Unorm type ClearValue = [f32; 3];
impl FormatDesc for B8G8R8Snorm type ClearValue = [f32; 3];
impl FormatDesc for B8G8R8Uscaled type ClearValue = [f32; 3];
impl FormatDesc for B8G8R8Sscaled type ClearValue = [f32; 3];
impl FormatDesc for B8G8R8Uint type ClearValue = [u32; 3];
impl FormatDesc for B8G8R8Sint type ClearValue = [i32; 3];
impl FormatDesc for B8G8R8Srgb type ClearValue = [f32; 3];
impl FormatDesc for R8G8B8A8Unorm type ClearValue = [f32; 4];
impl FormatDesc for R8G8B8A8Snorm type ClearValue = [f32; 4];
impl FormatDesc for R8G8B8A8Uscaled type ClearValue = [f32; 4];
impl FormatDesc for R8G8B8A8Sscaled type ClearValue = [f32; 4];
impl FormatDesc for R8G8B8A8Uint type ClearValue = [u32; 4];
impl FormatDesc for R8G8B8A8Sint type ClearValue = [i32; 4];
impl FormatDesc for R8G8B8A8Srgb type ClearValue = [f32; 4];
impl FormatDesc for B8G8R8A8Unorm type ClearValue = [f32; 4];
impl FormatDesc for B8G8R8A8Snorm type ClearValue = [f32; 4];
impl FormatDesc for B8G8R8A8Uscaled type ClearValue = [f32; 4];
impl FormatDesc for B8G8R8A8Sscaled type ClearValue = [f32; 4];
impl FormatDesc for B8G8R8A8Uint type ClearValue = [u32; 4];
impl FormatDesc for B8G8R8A8Sint type ClearValue = [i32; 4];
impl FormatDesc for B8G8R8A8Srgb type ClearValue = [f32; 4];
impl FormatDesc for A8B8G8R8UnormPack32 type ClearValue = [f32; 4];
impl FormatDesc for A8B8G8R8SnormPack32 type ClearValue = [f32; 4];
impl FormatDesc for A8B8G8R8UscaledPack32 type ClearValue = [f32; 4];
impl FormatDesc for A8B8G8R8SscaledPack32 type ClearValue = [f32; 4];
impl FormatDesc for A8B8G8R8UintPack32 type ClearValue = [u32; 4];
impl FormatDesc for A8B8G8R8SintPack32 type ClearValue = [i32; 4];
impl FormatDesc for A8B8G8R8SrgbPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2R10G10B10UnormPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2R10G10B10SnormPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2R10G10B10UscaledPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2R10G10B10SscaledPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2R10G10B10UintPack32 type ClearValue = [u32; 4];
impl FormatDesc for A2R10G10B10SintPack32 type ClearValue = [i32; 4];
impl FormatDesc for A2B10G10R10UnormPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2B10G10R10SnormPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2B10G10R10UscaledPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2B10G10R10SscaledPack32 type ClearValue = [f32; 4];
impl FormatDesc for A2B10G10R10UintPack32 type ClearValue = [u32; 4];
impl FormatDesc for A2B10G10R10SintPack32 type ClearValue = [i32; 4];
impl FormatDesc for R16Unorm type ClearValue = [f32; 1];
impl FormatDesc for R16Snorm type ClearValue = [f32; 1];
impl FormatDesc for R16Uscaled type ClearValue = [f32; 1];
impl FormatDesc for R16Sscaled type ClearValue = [f32; 1];
impl FormatDesc for R16Uint type ClearValue = [u32; 1];
impl FormatDesc for R16Sint type ClearValue = [i32; 1];
impl FormatDesc for R16Sfloat type ClearValue = [f32; 1];
impl FormatDesc for R16G16Unorm type ClearValue = [f32; 2];
impl FormatDesc for R16G16Snorm type ClearValue = [f32; 2];
impl FormatDesc for R16G16Uscaled type ClearValue = [f32; 2];
impl FormatDesc for R16G16Sscaled type ClearValue = [f32; 2];
impl FormatDesc for R16G16Uint type ClearValue = [u32; 2];
impl FormatDesc for R16G16Sint type ClearValue = [i32; 2];
impl FormatDesc for R16G16Sfloat type ClearValue = [f32; 2];
impl FormatDesc for R16G16B16Unorm type ClearValue = [f32; 3];
impl FormatDesc for R16G16B16Snorm type ClearValue = [f32; 3];
impl FormatDesc for R16G16B16Uscaled type ClearValue = [f32; 3];
impl FormatDesc for R16G16B16Sscaled type ClearValue = [f32; 3];
impl FormatDesc for R16G16B16Uint type ClearValue = [u32; 3];
impl FormatDesc for R16G16B16Sint type ClearValue = [i32; 3];
impl FormatDesc for R16G16B16Sfloat type ClearValue = [f32; 3];
impl FormatDesc for R16G16B16A16Unorm type ClearValue = [f32; 4];
impl FormatDesc for R16G16B16A16Snorm type ClearValue = [f32; 4];
impl FormatDesc for R16G16B16A16Uscaled type ClearValue = [f32; 4];
impl FormatDesc for R16G16B16A16Sscaled type ClearValue = [f32; 4];
impl FormatDesc for R16G16B16A16Uint type ClearValue = [u32; 4];
impl FormatDesc for R16G16B16A16Sint type ClearValue = [i32; 4];
impl FormatDesc for R16G16B16A16Sfloat type ClearValue = [f32; 4];
impl FormatDesc for R32Uint type ClearValue = [u32; 1];
impl FormatDesc for R32Sint type ClearValue = [i32; 1];
impl FormatDesc for R32Sfloat type ClearValue = [f32; 1];
impl FormatDesc for R32G32Uint type ClearValue = [u32; 2];
impl FormatDesc for R32G32Sint type ClearValue = [i32; 2];
impl FormatDesc for R32G32Sfloat type ClearValue = [f32; 2];
impl FormatDesc for R32G32B32Uint type ClearValue = [u32; 3];
impl FormatDesc for R32G32B32Sint type ClearValue = [i32; 3];
impl FormatDesc for R32G32B32Sfloat type ClearValue = [f32; 3];
impl FormatDesc for R32G32B32A32Uint type ClearValue = [u32; 4];
impl FormatDesc for R32G32B32A32Sint type ClearValue = [i32; 4];
impl FormatDesc for R32G32B32A32Sfloat type ClearValue = [f32; 4];
impl FormatDesc for R64Uint type ClearValue = [u32; 1];
impl FormatDesc for R64Sint type ClearValue = [i32; 1];
impl FormatDesc for R64Sfloat type ClearValue = [f32; 1];
impl FormatDesc for R64G64Uint type ClearValue = [u32; 2];
impl FormatDesc for R64G64Sint type ClearValue = [i32; 2];
impl FormatDesc for R64G64Sfloat type ClearValue = [f32; 2];
impl FormatDesc for R64G64B64Uint type ClearValue = [u32; 3];
impl FormatDesc for R64G64B64Sint type ClearValue = [i32; 3];
impl FormatDesc for R64G64B64Sfloat type ClearValue = [f32; 3];
impl FormatDesc for R64G64B64A64Uint type ClearValue = [u32; 4];
impl FormatDesc for R64G64B64A64Sint type ClearValue = [i32; 4];
impl FormatDesc for R64G64B64A64Sfloat type ClearValue = [f32; 4];
impl FormatDesc for B10G11R11UfloatPack32 type ClearValue = [f32; 3];
impl FormatDesc for E5B9G9R9UfloatPack32 type ClearValue = [f32; 3];
impl FormatDesc for D16Unorm type ClearValue = f32;
impl FormatDesc for X8_D24UnormPack32 type ClearValue = f32;
impl FormatDesc for D32Sfloat type ClearValue = f32;
impl FormatDesc for S8Uint type ClearValue = u32;
impl FormatDesc for D16Unorm_S8Uint type ClearValue = (f32, u32);
impl FormatDesc for D24Unorm_S8Uint type ClearValue = (f32, u32);
impl FormatDesc for D32Sfloat_S8Uint type ClearValue = (f32, u32);
impl FormatDesc for BC1_RGBUnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC1_RGBSrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for BC1_RGBAUnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC1_RGBASrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for BC2UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC2SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for BC3UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC3SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for BC4UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC4SnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC5UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC5SnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC6HUfloatBlock type ClearValue = [f32; 4];
impl FormatDesc for BC6HSfloatBlock type ClearValue = [f32; 4];
impl FormatDesc for BC7UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for BC7SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ETC2_R8G8B8UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ETC2_R8G8B8SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ETC2_R8G8B8A1UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ETC2_R8G8B8A1SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ETC2_R8G8B8A8UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ETC2_R8G8B8A8SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for EAC_R11UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for EAC_R11SnormBlock type ClearValue = [f32; 4];
impl FormatDesc for EAC_R11G11UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for EAC_R11G11SnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_4x4UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_4x4SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_5x4UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_5x4SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_5x5UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_5x5SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_6x5UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_6x5SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_6x6UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_6x6SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_8x5UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_8x5SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_8x6UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_8x6SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_8x8UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_8x8SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x5UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x5SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x6UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x6SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x8UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x8SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x10UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_10x10SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_12x10UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_12x10SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_12x12UnormBlock type ClearValue = [f32; 4];
impl FormatDesc for ASTC_12x12SrgbBlock type ClearValue = [f32; 4];
impl FormatDesc for Format type ClearValue = ClearValue;