public Graphics(IStartupPropertiesCache startUpPropertiesCache, ISystemComponents systemComponents, IRenderCommandQueue renderCommandQueue, ICommandProcessor commandProcessor, IRenderStageManager renderStageManager, IRenderStageVisitor renderStageVisitor, IGpuSurfaceManager surfaceManager, IViewportManager viewportManager, IFontManager fontManager, ICameraManager cameraManager, IFrameworkDebugOverlay debugOverlay) { _startUpPropertiesCache = startUpPropertiesCache; _systemComponents = systemComponents; _renderCommandQueue = renderCommandQueue; _commandProcessor = commandProcessor; _renderStageManager = renderStageManager; _renderStageVisitor = renderStageVisitor; _surfaceManager = surfaceManager; _viewportManager = viewportManager; _fontManager = fontManager; _cameraManager = cameraManager; _debugOverlay = debugOverlay; Initialise(); }
public Stages(IRenderStageManager renderStageManager, IViewportManager viewportManager, IRenderStageVisitor renderStageVisitor) { _renderStageManager = renderStageManager; _viewportManager = viewportManager; _renderStageVisitor = renderStageVisitor; }
public Drawing(IFrameworkMessenger frameworkMessenger, IRenderStageManager renderStageManager, IRenderStageVisitor renderStageVisitor, IFontManager fontManager, IGpuSurfaceManager gpuSurfaceManager) { _frameworkMessenger = frameworkMessenger; _renderStageManager = renderStageManager; _renderStageVisitor = renderStageVisitor; _fontManager = fontManager; _gpuSurfaceManager = gpuSurfaceManager; }
public CommandProcessor(IFrameworkMessenger frameworkMessenger, IRenderStageManager renderStageManager, IGpuSurfaceManager surfaceManager, IViewportManager viewportManager, IRenderStageVisitor renderStageVisitor, ICopyStageRenderer copyStageRenderer, ICameraManager cameraManager) { _frameworkMessenger = frameworkMessenger; _renderStageManager = renderStageManager; _surfaceManager = surfaceManager; _viewportManager = viewportManager; _renderStageVisitor = renderStageVisitor; _copyStageRenderer = copyStageRenderer; _cameraManager = cameraManager; }
public void CacheInstanceInVisitor(IRenderStageVisitor visitor) => visitor.CacheStageModel(this);
public void SendToRenderStage(IRenderStageVisitor visitor, CommandList cl, RenderCommandQueueItem command) => visitor.DispatchToRenderStage(this, cl, command);