public static List<ExportedValue> GetExportedValues(StitchedEffectSymbol stitchedEffect) { ExportDictionary exports = new ExportDictionary(); List<ExportedValue> exportedValues = new List<ExportedValue>(); foreach (StitchedFragmentSymbol stitchedFragment in stitchedEffect.StitchedFragments) { foreach (ShaderCodeBlockNode codeBlock in stitchedFragment.FragmentNode.VertexShaders) PreProcessCodeBlock(stitchedFragment.UniqueName, codeBlock, exports, exportedValues, true); foreach (ShaderCodeBlockNode codeBlock in stitchedFragment.FragmentNode.PixelShaders) PreProcessCodeBlock(stitchedFragment.UniqueName, codeBlock, exports, exportedValues, true); } return exportedValues; }
public static List <ExportedValue> GetExportedValues(StitchedEffectSymbol stitchedEffect) { ExportDictionary exports = new ExportDictionary(); List <ExportedValue> exportedValues = new List <ExportedValue>(); foreach (StitchedFragmentSymbol stitchedFragment in stitchedEffect.StitchedFragments) { foreach (ShaderCodeBlockNode codeBlock in stitchedFragment.FragmentNode.VertexShaders) { PreProcessCodeBlock(stitchedFragment.UniqueName, codeBlock, exports, exportedValues, true); } foreach (ShaderCodeBlockNode codeBlock in stitchedFragment.FragmentNode.PixelShaders) { PreProcessCodeBlock(stitchedFragment.UniqueName, codeBlock, exports, exportedValues, true); } } return(exportedValues); }
public BaseScriptProxy(EventHandlerDictionary eventHandlers, ExportDictionary exports, PlayerList players) { this.EventHandlers = eventHandlers; this.Exports = exports; this.Players = players; }