Axiom.RenderSystems.Xna.XnaTexture.freeInternalResources C# (CSharp) Method

freeInternalResources() protected method

protected freeInternalResources ( ) : void
return void
		protected override void freeInternalResources()
		{
			if ( this._texture != null )
			{
				this._texture.Dispose();
				this._texture = null;
			}

			if ( this._normTexture != null )
			{
				this._normTexture.Dispose();
				this._normTexture = null;
			}

			if ( this._cubeTexture != null )
			{
				this._cubeTexture.Dispose();
				this._cubeTexture = null;
			}

			if ( this._volumeTexture != null )
			{
				this._volumeTexture.Dispose();
				this._volumeTexture = null;
			}
		}