csharp
public readonly record struct WgpuRenderPipelineDescriptorWhat to compile a render pipeline from.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (15)
public WebGpuObject LayoutThe bind group layouts and their order.
public WebGpuObject VertexModuleThe vertex shader module.
public string VertexEntryPointIts entry point.
public WgpuVertexBufferLayout[] VertexBuffersThe vertex buffer layouts, in binding order.
public WebGpuObject FragmentModuleThe fragment shader module, or Null for a depth-only pipeline.
public string FragmentEntryPointIts entry point.
public WgpuColourTargetState[] ColourTargetsThe colour targets, in order.
public WgpuPrimitiveTopology TopologyWhat the vertices mean.
public WgpuIndexFormat StripIndexFormatThe index format, for a strip topology.
public WgpuFrontFace FrontFaceWhich winding is front.
public WgpuCullMode CullModeWhich faces to discard.
public bool UnclippedDepthWhether depth is clamped rather than clipped.
public WgpuDepthStencilState? DepthStencilThe depth and stencil state, or for none.
public int SampleCountHow many samples the attachments have.
public string LabelA name for the debugger.
Methods (1)
public WgpuRenderPipelineDescriptor(WebGpuObject Layout, WebGpuObject VertexModule, string VertexEntryPoint, WgpuVertexBufferLayout[] VertexBuffers, WebGpuObject FragmentModule, string FragmentEntryPoint, WgpuColourTargetState[] ColourTargets, WgpuPrimitiveTopology Topology, WgpuIndexFormat StripIndexFormat, WgpuFrontFace FrontFace, WgpuCullMode CullMode, bool UnclippedDepth, WgpuDepthStencilState? DepthStencil, int SampleCount, string Label = "")What to compile a render pipeline from.
Used by (3)
- FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
- IWebGpuBindingVixen.Graphics.WebGPU
- NativeWebGpuBindingVixen.Graphics.WebGPU