Contents

physicalSize(layer:)

Returns the dimensions, in pixels, of the area in the render target affected by the rasterization rate map.

Declaration

func physicalSize(layer layerIndex: Int) -> MTLSize

Parameters

  • layerIndex:

    The index of the layer.

Mentioned in

Return Value

The dimensions, in pixels, of the area in the render target affected by the rasterization rate map.

Discussion

Your render targets should be at least as large as the physical size returned by this method. Each layer may have different rasterization rates and therefore different physical size requirements.

See Also

Inspecting geometric and rendering properties