Vixen
02b45cc4
csharp
public static class WebGpuConversions

The RHI's vocabulary in WebGPU's terms.

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

Remarks

Every one of these is a pure function of its argument, so the whole of the backend's decision-making is testable without an implementation, a driver or a browser — which is most of what a backend gets wrong.

Where WebGPU has no equivalent the substitution is named here and only here, with what it costs. Three of them are worth knowing before reading any further: ToWebGpu has nowhere to put a border colour, ToWebGpu has no "do not care", and ToWebGpu is not a cast — WebGPU numbers Immediate and Mailbox the other way round from the RHI, and a cast there silently swaps tearing for frame-dropping.

Methods (31)

Used by (5)

  • WebGpuCommandListVixen.Graphics.WebGPU
  • WebGpuConversionTestsVixen.Graphics.WebGPU.Tests
  • WebGpuDeviceVixen.Graphics.WebGPU
  • WebGpuEnumAgreementTestsVixen.Graphics.WebGPU.Tests
  • WebGpuSwapChainVixen.Graphics.WebGPU