Contents

renderTargetWidth

Sets the width, in pixels, to which Metal constrains the render target.

Declaration

var renderTargetWidth: Int { get set }

Discussion

When this value is non-zero, you need to assign it to be smaller than or equal to the minimum width of all attachments.

The default value of this property is 0.