public SFPS_Category Initialize(SF_Editor editor, SF_PassSettings ps, string label) { this.editor = editor; this.ps = ps; this.labelExpanded = label; this.labelContracted = label + "..."; return(PostInitialize()); }
public SF_Dependencies(SF_PassSettings ps) { includeRenderers = new List <RenderPlatform>(); if (ps.catMeta.compileToAllPlatforms == false) { for (int i = 0; i < ps.catMeta.usedRenderers.Length; i++) { if (ps.catMeta.usedRenderers[i]) { includeRenderers.Add((RenderPlatform)i); } } } }
public SF_Dependencies(SF_PassSettings ps) { includeRenderers = new List <RenderPlatform>(); for (int i = 0; i < ps.catMeta.usedRenderers.Length; i++) { if (ps.catMeta.usedRenderers[i]) { includeRenderers.Add((RenderPlatform)i); } } //excludeRenderers.Add( RenderPlatform.flash ); //excludeRenderers.Add( RenderPlatform.gles ); //excludeRenderers.Add( RenderPlatform.xbox360 ); //excludeRenderers.Add( RenderPlatform.ps3 ); }
public SF_FeatureChecker Initialize(SF_PassSettings ps, SF_Editor editor) { this.ps = ps; this.editor = editor; return(this); }