Contents

init(rawValue:)

Creates a render stage from a raw value.

Declaration

init(rawValue: UInt)

Parameters

  • rawValue:

    A bit field value of a render stage as an integer.

Discussion

Use of the MTLRenderStages type’s static properties, such as mesh, vertex, or fragment instead of creating a render stage instance yourself with this initializer.