public Clone ( |
||
parent | Parent technique that will own this cloned Pass. | |
index | int | |
return |
public Pass Clone( Technique parent, int index )
{
Pass newPass = new Pass( parent, index );
CopyTo( newPass );
// dirty the hash on the new pass
newPass.DirtyHash();
return newPass;
}