fullScreenTriangle
constfullScreenTriangle:TgpuVertexFn<{ }, {uv:Vec2f; }>
Defined in: packages/typegpu/src/common/fullScreenTriangle.ts:21
A vertex function that defines a single full-screen triangle out of three points.
Example
Section titled βExampleβimport { common } from 'typegpu';
const pipeline = root.createRenderPipeline({ vertex: common.fullScreenTriangle, fragment: yourFragmentShader,});
pipeline.draw(3);