public void RemoveTextureUnitState( TextureUnitState state ) { textureUnitStates.Remove( state ); if ( !queuedForDeletion ) { // needs recompilation _parent.NotifyNeedsRecompile(); } DirtyHash(); }