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