renderPass()
ts
function renderPass<U>(params: RenderPassParams<U>): RenderPass<U>;Creates a generic rendering pass.
This is the core primitive for rendering anything to the screen or a texture. It handles program creation, uniform management, attribute setup, and resizing.
Type Parameters
U
U extends Uniforms
Parameters
params
Configuration for the render pass.
Returns
RenderPass<U>