Vixen
dd8b0a81
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.Editor.TextureGraph
  • TextureBakeVixen.Editor.TextureGraph
  • TextureGraphCompilerVixen.Editor.TextureGraph
  • TextureGraphPreviewsVixen.Editor.TextureGraph
  • TextureKernelTestsVixen.Editor.TextureGraph.Tests
  • TextureKernelsVixen.Editor.TextureGraph
  • TexturePixelsVixen.Editor.TextureGraph
  • TexturePlanVixen.Editor.TextureGraph
  • TexturePlanEvaluatorVixen.Editor.TextureGraph
  • TexturePoolScheduleVixen.Editor.TextureGraph
  • TextureUploadDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureUploadTestsVixen.Editor.TextureGraph.Tests
  • TextureUploadsVixen.Editor.TextureGraph