A draw operation (DrawOp) binds a DrawTechnique to a specific render pass.

DrawOp is intentionally lightweight: it contains no rendering logic of its own. Instead, it forwards draw calls to its DrawTechnique, supplying the appropriate RenderPassValue.

Constructors

Properties

Methods

Constructors

Properties

renderPass: number

The render pass in which this draw operation is executed.

technique: DrawTechnique

The draw technique that performs the actual rendering.

Methods