Instance Property

renderTargetWidth

The width, in pixels, to constrain the render target to.

Declaration

var renderTargetWidth: Int { get set }

See Also

Layered Rendering

Rendering to Multiple Texture Slices in a Draw Command

Select a destination texture slice in your vertex shader.

var renderTargetArrayLength: Int

The number of active layers that all attachments must have for layered rendering.

var renderTargetHeight: Int

The height, in pixels, to constrain the render target to.