RenderLayer.Set
An unordered collection of unique render layers.
Declaration
struct SetOverview
RenderLayer.Set is used wherever a group of layers is specified—for example, on light components and RenderLayerComponent.
You can create a RenderLayer.Set using an array literal:
let layers: RenderLayer.Set = [.defaultLayer, RenderLayer("com.myapp.hero")]