Type alias RenderPipelineOptions

RenderPipelineOptions: {
    canvas?: HTMLCanvasElement;
    clearColor?: GPUColor;
    enableDepthStencil?: boolean;
    enableMultiSampling?: boolean;
} & PipelineOptions

Type declaration

  • Optional canvas?: HTMLCanvasElement

    The canvas to render to. If not set, the canvas from the Canvas component will be used.

  • Optional clearColor?: GPUColor

    The color to clear the screen with before running a render shader. Defaults to [0, 0, 0, 1] (black).

  • Optional enableDepthStencil?: boolean
  • Optional enableMultiSampling?: boolean

Generated using TypeDoc