Contents

setTriangleFillMode(_:)

Configures how subsequent draw commands rasterize triangle and triangle strip primitives.

Declaration

func setTriangleFillMode(_ fillMode: MTLTriangleFillMode)

Parameters

  • fillMode:

    Mtltrianglefillmode the render pass applies to draw commands that rasterize triangles or triangle strips.

See Also

Configuring rendering behavior