public virtual void Release() { if (TCol != null) { TCol.Release(0); } if (TNorm != null) { TNorm.Release(1); } if (TEnv != null) { TEnv.Release(2); } Active = null; }
public virtual void Bind() { if (TCol != null) { TCol.Bind(0); } if (TNorm != null) { TNorm.Bind(1); } if (TEnv != null) { TEnv.Bind(2); } Active = this; }