Contents

renderTarget

An option for rendering to the texture in a render pass.

Declaration

static var renderTarget: MTLTextureUsage { get }

Mentioned in

Discussion

Set this option if you use the given texture as a color, depth, or stencil render target in any render pass. This option allows you to assign the texture to the texture property of an MTLRenderPassAttachmentDescriptor.

See Also

Specifying texture usage options