WithVertex
Type Parameters
Section titled “Type Parameters”• VertexOut extends VertexOutConstrained = VertexOutConstrained
Methods
Section titled “Methods”createPipeline()
Section titled “createPipeline()”createPipeline():
TgpuRenderPipeline<Void>
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:171
withDepthStencil()
Section titled “withDepthStencil()”withDepthStencil(
depthStencilState):WithFragment<Void>
Parameters
Section titled “Parameters”depthStencilState
Section titled “depthStencilState”undefined | GPUDepthStencilState
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:163
withFragment()
Section titled “withFragment()”withFragment<
FragmentIn,FragmentOut>(…args):WithFragment<FragmentOut>
Type Parameters
Section titled “Type Parameters”• FragmentIn extends FragmentInConstrained
• FragmentOut extends FragmentOutConstrained
Parameters
Section titled “Parameters”…ValidateFragmentIn<VertexOut, FragmentIn, FragmentOut>
Returns
Section titled “Returns”WithFragment<FragmentOut>
Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:147
withMultisample()
Section titled “withMultisample()”withMultisample(
multisampleState):WithFragment<Void>
Parameters
Section titled “Parameters”multisampleState
Section titled “multisampleState”undefined | GPUMultisampleState
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:167
withPrimitive()
Section titled “withPrimitive()”withPrimitive(
primitiveState):WithFragment<Void>
Parameters
Section titled “Parameters”primitiveState
Section titled “primitiveState”undefined | GPUPrimitiveState | Omit<GPUPrimitiveState, "stripIndexFormat"> & object