Axiom.Core.TextureManager.TextureManager C# (CSharp) Method

TextureManager() protected method

Internal constructor. This class cannot be instantiated externally.
Protected internal because this singleton will actually hold the instance of a subclass created by a render system plugin.
protected TextureManager ( ) : System
return System
		protected internal TextureManager()
			: base()
		{
			if ( instance == null )
			{
				instance = this;
				ResourceType = "Texture";
				LoadingOrder = 75.0f;
			}
			else
				throw new AxiomException( "Cannot create another instance of {0}. Use Instance property instead", this.GetType().Name );
		}