Vixen
02b45cc4
csharp
public static class VkFormats

The VkFormat numbers a KTX2 header carries, and what they mean here.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A table in this assembly rather than a reference to the Vulkan backend, because Vixen.Core.Imaging is a Core assembly and Vixen.Graphics.Vulkan is a Platform one — and because these numbers are part of the file format, not of the graphics API. A KTX2 file written on a machine with no Vulkan at all still names its format this way.

Only the formats the engine actually ships textures in are listed. A number nobody writes is a number nobody has tested, and the alternative — hundreds of entries transcribed from a header — is hundreds of chances to transcribe one wrongly.

Fields and properties (1)

  • public static IEnumerable<PixelFormat> Supported

    Every format that can be written.

Methods (2)

  • public static uint From(PixelFormat format)

    The Vulkan number for a format.

  • public static PixelFormat To(uint vkFormat)

    What a Vulkan number means.

Used by (2)

  • Ktx2Vixen.Core.Imaging
  • Ktx2TestsVixen.Core.Imaging.Tests