Vixen
02b45cc4
csharp
public readonly record struct WgpuSamplerDescriptor

What to create a WebGPU sampler as.

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

Fields and properties (11)

  • public WgpuAddressMode AddressU

    What to do outside [0, 1] horizontally.

  • public WgpuAddressMode AddressV

    What to do outside [0, 1] vertically.

  • public WgpuAddressMode AddressW

    What to do outside [0, 1] in depth.

  • public WgpuFilterMode MagFilter

    How to filter when magnified.

  • public WgpuFilterMode MinFilter

    How to filter when minified.

  • public WgpuMipmapFilterMode MipmapFilter

    How to filter between levels.

  • public float LodMinClamp

    The lowest level to sample.

  • public float LodMaxClamp

    The highest level to sample.

  • public WgpuCompareFunction Compare

    The shadow comparison, or Undefined for an ordinary sampler.

  • public ushort MaxAnisotropy

    How many anisotropic samples.

  • public string Label

    A name for the debugger.

Methods (1)

Used by (5)

  • FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
  • IWebGpuBindingVixen.Graphics.WebGPU
  • NativeWebGpuBindingVixen.Graphics.WebGPU
  • WebGpuConversionTestsVixen.Graphics.WebGPU.Tests
  • WebGpuConversionsVixen.Graphics.WebGPU