Пример #1
0
 public static Preset <T, TScript> MakeEmptyPreset <T, TScript>(this IChainUi <T, TScript> renderScript, string name = null)
     where TScript : class, IScript
 {
     return(renderScript.CreateNew().ToPreset());
 }
Пример #2
0
 public static ChromaScalerPreset MakeNewChromaScalerPreset(this IChainUi <ITextureFilter, IRenderScript> renderScript, string name = null)
 {
     return(renderScript.CreateNew().ToChromaScalerPreset());
 }