Vixen
5cf01f31
csharp
public static class TextureFormats

What each TextureFormat is to a device, to Raven and to a reader.

Read the guide page for this →

Fields and properties (1)

  • public static IReadOnlyList<TextureFormat> Storable

    Every format a kernel can write, which is what its variants are built for.

Methods (4)

  • public static PixelFormat Pixel(TextureFormat format)

    The device format an image of this kind is created as.

  • public static int BytesPerTexel(TextureFormat format)

    How many bytes one texel takes.

  • public static bool IsStorable(TextureFormat format)

    Whether a kernel may write to an image of this kind.

  • public static string RavenName(TextureFormat format)

    The [Format("…")] string a kernel writing this image declares.

Used by (13)

  • NormalToHeightOperationVixen.TextureGraph
  • TextureBakeVixen.TextureGraph
  • TextureGraphCompilerVixen.TextureGraph
  • TextureGraphPreviewsVixen.Editor.TextureGraph
  • TextureKernelTestsVixen.TextureGraph.Tests
  • TextureKernelsVixen.TextureGraph
  • TexturePixelsVixen.TextureGraph
  • TexturePlanVixen.TextureGraph
  • TexturePlanEvaluatorVixen.TextureGraph
  • TexturePoolScheduleVixen.TextureGraph
  • TextureUploadDeviceTestsVixen.TextureGraph.Tests
  • TextureUploadTestsVixen.TextureGraph.Tests
  • TextureUploadsVixen.TextureGraph