Contents

init(rawValue:)

Creates a blit option from a raw value.

Declaration

init(rawValue: UInt)

Parameters

  • rawValue:

    The bitwise value of a blit option as an integer.

Discussion

Use one of the MTLBlitOption type’s static properties, such as depthFromDepthStencil, stencilFromDepthStencil, and rowLinearPVRTC instead of creating a blit option yourself with this initializer.