//********************************** Banshee Engine (www.banshee3d.com) **************************************************// //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************// using System; namespace BansheeEngine { /** @addtogroup Utility * @{ */ /// /// 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; } } } /** @} */ }