fullScreenTriangle
constfullScreenTriangle:TgpuVertexFn<object,object>
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);