using System.Runtime.CompilerServices; namespace BansheeEngine { /// /// Contains various builtin resources that are always available. /// public static class Builtin { /// /// Returns a pure white texture. /// public static SpriteTexture WhiteTexture { get { return Internal_GetWhiteTexture(); } } /// /// Returns the default shader to be used with renderables. /// public static Shader DiffuseShader { get { return Internal_GetDiffuseShader(); } } [MethodImpl(MethodImplOptions.InternalCall)] private static extern SpriteTexture Internal_GetWhiteTexture(); [MethodImpl(MethodImplOptions.InternalCall)] private static extern Shader Internal_GetDiffuseShader(); } }