Skip to content

Sign up to be notified when the ShaderHunt platform is available, along with interactive examples teaching TypeGPU from the ground up.

WithVertex

Defined in: packages/typegpu/src/core/root/rootTypes.ts:94

VertexOut extends VertexOutConstrained = VertexOutConstrained

withFragment<FragmentIn, FragmentOut>(…args): WithFragment<FragmentOut>

Defined in: packages/typegpu/src/core/root/rootTypes.ts:97

FragmentIn extends FragmentInConstrained

FragmentOut extends FragmentOutConstrained

ValidateFragmentIn<VertexOut, FragmentIn, FragmentOut>

WithFragment<FragmentOut>