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