public ICustomVeldridStage CreateCustomVeldridStage(CustomVeldridBase stage) { var id = _idGenerator.New(); var model = _renderStageModelFactory.CreateCustomVeldridStage(stage); var userReference = new CustomVeldridStage(id); return(_renderStageCollection.Add(id, model) ? userReference : null); }
public CustomVeldridStageModel(IFrameworkMessenger frameworkMessenger, ISystemComponents systemComponents, IVeldridWindowUpdater windowUpdater, CustomVeldridBase stage) { _frameworkMessenger = frameworkMessenger; _systemComponents = systemComponents; _windowUpdater = windowUpdater; CustomStage = stage; Initialise(); }
public ICustomVeldridStageModel CreateCustomVeldridStage(CustomVeldridBase stage) { return(new CustomVeldridStageModel(_frameworkMessenger, _systemComponents, _windowUpdater, stage)); }
public ICustomVeldridStage CreateCustomVeldridStage(CustomVeldridBase stage) { return(_renderStageManager.CreateCustomVeldridStage(stage)); }