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