TgpuVertexFnShell
TgpuVertexFnShell<
VertexIn,VertexOut>:TgpuVertexFnShellHeader<VertexIn,VertexOut> & (implementation) =>TgpuVertexFn<OmitBuiltins<VertexIn>,OmitBuiltins<VertexOut>> & (implementation) =>TgpuVertexFn<OmitBuiltins<VertexIn>,OmitBuiltins<VertexOut>> & (strings, …values) =>TgpuVertexFn<OmitBuiltins<VertexIn>,OmitBuiltins<VertexOut>>
Describes a vertex entry function signature (its arguments, return type and attributes). Allows creating tgpu vertex functions by calling this shell and passing the implementation (as WGSL string or JS function) as the argument.
Type Parameters
Section titled “Type Parameters”• VertexIn extends VertexInConstrained
• VertexOut extends VertexOutConstrained