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