Axiom.Graphics.Material.RemoveTechnique C# (CSharp) Method

RemoveTechnique() public method

Removes the specified Technique from this material.
public RemoveTechnique ( Technique t ) : void
t Technique A reference to the technique to remove
return void
		public void RemoveTechnique( Technique t )
		{
			Debug.Assert( t != null, "t != null" );

			// remove from the list, and force a rebuild of supported techniques
			this.techniques.Remove( t );
			this.SupportedTechniques.Clear();
			this.ClearBestTechniqueList();
			this._compilationRequired = true;
		}