Skip to content

rawRenderPass()

ts
function rawRenderPass<U>(params: RawRenderPassParams<U>): RawRenderPass<U>;

Creates a low-level rendering pass for concrete uniform values.

This is the core primitive for rendering anything to the screen or a texture. It handles program creation, concrete uniform management, attribute setup, render-target selection, state configuration, and resizing.

This pass deliberately does not evaluate uniform functions or promises. Use renderPass() for managed uniform sources.

Type Parameters

U

U extends UniformValues

Parameters

params

RawRenderPassParams<U>

Configuration for the render pass.

Returns

RawRenderPass<U>

Released under the MIT License.