Contents

RenderLayer.Set

An unordered collection of unique render layers.

Declaration

struct Set

Overview

RenderLayer.Set represents a group of layers - for example, the layers a light illuminates (layers, layers, layers) or the layers an entity participates in (layers).

Create a RenderLayer.Set using an array literal:

let layers: RenderLayer.Set = [.defaultLayer, RenderLayer("com.myapp.hero")]

Topics

Inspecting the set

Initializers

Instance Methods