using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BansheeEngine { /// /// Contains a list of layers that can be used for controlling which is output to which /// camera. A maximum of 64 layers are supported. /// public static class Layers // Note: Placeholder class, need functionality to edit and persist layer names { private static string[] names; private static UInt64[] values; /// /// Returns the names of all available layers. /// public static string[] Names { get { if (names == null) { names = new string[64]; for (int i = 0; i < names.Length; i++) names[i] = "Layer_" + i; } return names; } } /// /// Returns the values of all available layers. /// public static UInt64[] Values { get { if (values == null) { values = new UInt64[64]; for (int i = 0; i < values.Length; i++) values[i] = 1UL << i; } return values; } } } }