QuadPassParams<Context, U>
ts
type QuadPassParams<Context, U> = Omit<
RenderPassParams<Context, U>,
"vertex"
> & {
vertex?: string;
};Parameters for creating a quadRenderPass.
Inherits from RenderPassParams but makes the vertex shader optional.
Type Declaration
| Name | Type | Description |
|---|---|---|
vertex? | string | Optional vertex shader. If omitted, the built-in full-screen triangle vertex shader is used and its UV varying is adapted to the fragment shader. |
Type Parameters
Context
Context extends UniformContext = UniformContext
U
U extends UniformSources<Context> = UniformSources<Context>