Axiom.Graphics.Pass.QueueForDeletion C# (CSharp) Method

QueueForDeletion() public method

Queue this pass for deletion when appropriate.
public QueueForDeletion ( ) : void
return void
		public void QueueForDeletion()
		{
			queuedForDeletion = true;

			RemoveAllTextureUnitStates();

			// remove from the dirty list
			_dirtyList.Remove( this );

			_graveyardList.Add( this );
		}

Usage Example

Ejemplo n.º 1
0
		/// <summary>
		///    Removes the specified Pass from this Technique.
		/// </summary>
		/// <param name="pass">A reference to the Pass to be removed.</param>
		public void RemovePass( Pass pass )
		{
			Debug.Assert( pass != null, "pass != null" );

			pass.QueueForDeletion();

			_passes.Remove( pass );
		}