Interface IRenderPipelineInput

Interface as input of the createRenderPipelineDescriptor function.

Hierarchy

  • IRenderPipelineInput

Properties

buffers?: Iterable<GPUVertexBufferLayout>

The buffers attribute of the vertex state in a render pipeline descriptor

cullMode?: GPUCullMode

The GPU cull mode - defines which polygon orientation will be culled

fsEntry?: string

The entry point for the fragment shader. Default 'fs_main'

fsShader?: string

The WGSL fragment shader

indexFormat?: GPUIndexFormat

The GPU index format (undefined for 'list' primitives or 'uint32' for 'strip' primitives)

The IWebGPU interface

isDepthStencil?: boolean

The boolean variable - indicates whether the render pipeline should include a depth stencial state or not

primitiveType?: GPUPrimitiveTopology

The GPU primative topology with default 'triangle-list'

shader?: string

The WGSL shader that contains both vertex and fragment shaders

vsEntry?: string

The entry point for the vertex shader. Default 'vs_main'

vsShader?: string

The WGSL vertex shader

Generated using TypeDoc