WithFragment
Type Parameters
Section titled “Type Parameters”• Output extends FragmentOutConstrained = FragmentOutConstrained
Methods
Section titled “Methods”createPipeline()
Section titled “createPipeline()”createPipeline():
TgpuRenderPipeline<Output>
Returns
Section titled “Returns”TgpuRenderPipeline<Output>
Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:194
withDepthStencil()
Section titled “withDepthStencil()”withDepthStencil(
depthStencilState):WithFragment<Output>
Parameters
Section titled “Parameters”depthStencilState
Section titled “depthStencilState”undefined | GPUDepthStencilState
Returns
Section titled “Returns”WithFragment<Output>
Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:186
withMultisample()
Section titled “withMultisample()”withMultisample(
multisampleState):WithFragment<Output>
Parameters
Section titled “Parameters”multisampleState
Section titled “multisampleState”undefined | GPUMultisampleState
Returns
Section titled “Returns”WithFragment<Output>
Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:190
withPrimitive()
Section titled “withPrimitive()”withPrimitive(
primitiveState):WithFragment<Output>
Parameters
Section titled “Parameters”primitiveState
Section titled “primitiveState”undefined | GPUPrimitiveState | Omit<GPUPrimitiveState, "stripIndexFormat"> & object
Returns
Section titled “Returns”WithFragment<Output>