public void CopyWithoutKeywords(object source, Material dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { CopyWithoutKeywords(source, dest); } }
public virtual void Copy(Material source, Material dest, ICollection <string> enabledKeywords, ShaderFieldAction filter) { if (filter.Invoke(this)) { Copy(source, dest, enabledKeywords); } }
public virtual void SetGlobalValues(object source, ShaderFieldAction filter) { if (filter.Invoke(this)) { SetGlobalValues(source); } }
public virtual object Copy(Material source, object dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { return(Copy(source, dest)); } return(dest); }
public virtual object GetGlobalValues(object dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { return(GetGlobalValues(dest)); } return(dest); }
public int GetEnabledKeywords(Material source, ICollection <string> keywords, ShaderFieldAction filter) { if (filter.Invoke(this)) { return(GetEnabledKeywords(source, keywords)); } return(0); }
public int GetEnabledKeywords(Material source, ShaderFieldAction filter) { if (filter.Invoke(this)) { return(GetEnabledKeywords(source)); } return(0); }
public int GetEnabledKeywords(ShaderFieldAction filter) { if (filter.Invoke(this)) { return(GetEnabledKeywords()); } return(0); }
public virtual object Lerp(object v0, object v1, object dest, float t, ShaderFieldAction filter) { if (filter.Invoke(this)) { return(Lerp(v0, v1, dest, t)); } return(dest); }
public object CopyWithoutKeywords(Material source, object dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { CopyWithoutKeywords(source, dest); } return(dest); }
public void Copy(Material source, Material dest, ICollection <string> enabledKeywords, ShaderFieldAction filter) { if (filter.Invoke(this)) { foreach (var child in Children) { child.Copy(source, dest, enabledKeywords, filter); } } }
public void CopyWithoutKeywords(Material source, Material dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { foreach (var child in Children) { child.CopyWithoutKeywords(source, dest, filter); } } }
public void ForEach(ShaderFieldAction action) { if (action.Invoke(this)) { foreach (var child in Children) { child.ForEach(action); } } }
public void Copy(object source, Material dest, ICollection <string> enabledKeywords, ShaderFieldAction filter) { if (filter.Invoke(this)) { var sourceValue = ReflectiveField.GetValue(source); foreach (var child in Children) { child.Copy(sourceValue, dest, enabledKeywords, filter); } } }
public void SetGlobalValues(object source, ShaderFieldAction filter) { if (filter.Invoke(this)) { var value = ReflectiveField.GetValue(source); foreach (var child in Children) { child.SetGlobalValues(value, filter); } } }
public void CopyWithoutKeywords(object source, Material dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { var sourceValue = ReflectiveField.GetValue(source); foreach (var child in Children) { child.CopyWithoutKeywords(sourceValue, dest, filter); } } }
public object GetGlobalValues(object dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { var value = ReflectiveField.GetValue(dest); foreach (var child in Children) { child.GetGlobalValues(value, filter); } } return(dest); }
public object CopyWithoutKeywords(Material source, object dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { var destValue = ReflectiveField.GetValue(dest); foreach (var child in Children) { child.CopyWithoutKeywords(source, destValue, filter); } } return(dest); }
public int GetEnabledKeywords(Material source, ICollection <string> keywords, ShaderFieldAction filter) { int mask = 0; if (filter.Invoke(this)) { foreach (var child in Children) { mask |= child.GetEnabledKeywords(source, filter); } } return(mask); }
public int GetEnabledKeywords(object source, ShaderFieldAction filter) { int mask = 0; if (filter.Invoke(this)) { foreach (var child in Children) { mask |= child.GetEnabledKeywords(source, filter); } } return(mask); }
public object Copy(object source, object dest, ShaderFieldAction filter) { if (filter.Invoke(this)) { var sourceValue = ReflectiveField.GetValue(source); var destValue = ReflectiveField.GetValue(dest); foreach (var child in Children) { child.Copy(sourceValue, destValue, filter); } } return(dest); }
public object Lerp(object v0, object v1, object dest, float t, ShaderFieldAction filter) { if (filter.Invoke(this)) { var value0 = ReflectiveField.GetValue(v0); var value1 = ReflectiveField.GetValue(v1); var destValue = ReflectiveField.GetValue(dest); foreach (var child in Children) { child.Lerp(value0, value1, destValue, t, filter); } } return(dest); }
public virtual void ForEach(ShaderFieldAction action) { action.Invoke(this); }