Contents

RenderLayer.Set

An unordered collection of unique render layers.

Declaration

struct Set

Overview

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")]

Topics

Inspecting the set

Initializers

Instance Methods