RenderPass
Interface in Runtime
A render pass of a frame: draws recorded into it.
import type { RenderPass } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
interface RenderPass { readonly raw: object; draw(pipeline: RenderPipeline, bindings: Bindings, geometry: Geometry): void;}Description
raw is the GPURenderPassEncoder.
Instance properties
rawread onlyobject
Instance methods
draw(pipeline: RenderPipeline, bindings: Bindings, geometry: Geometry): void
Source
src/runtime/runtime.ts, line 93, at commit 26de7be8