multiview

fun multiview(attachment: RenderTarget.AttachmentPoint, layerCount: Int, baseLayer: Int = 0): RenderTarget.Builder

Sets the attachment point to use multiview rendering: layerCount layers of a 2D array texture, starting at baseLayer, are rendered in a single pass.

Return

This Builder, for chaining calls

Parameters

attachment

The attachment point of the texture

layerCount

The number of layers used for multiview, starting from baseLayer

baseLayer

The starting index of the 2D array texture