Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 public Stages(IRenderStageManager renderStageManager,
               IViewportManager viewportManager,
               IRenderStageVisitor renderStageVisitor)
 {
     _renderStageManager = renderStageManager;
     _viewportManager    = viewportManager;
     _renderStageVisitor = renderStageVisitor;
 }
Esempio n. 3
0
 public Drawing(IFrameworkMessenger frameworkMessenger,
                IRenderStageManager renderStageManager,
                IRenderStageVisitor renderStageVisitor,
                IFontManager fontManager,
                IGpuSurfaceManager gpuSurfaceManager)
 {
     _frameworkMessenger = frameworkMessenger;
     _renderStageManager = renderStageManager;
     _renderStageVisitor = renderStageVisitor;
     _fontManager        = fontManager;
     _gpuSurfaceManager  = gpuSurfaceManager;
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
 public void CacheInstanceInVisitor(IRenderStageVisitor visitor) => visitor.CacheStageModel(this);
Esempio n. 6
0
 public void SendToRenderStage(IRenderStageVisitor visitor, CommandList cl, RenderCommandQueueItem command) => visitor.DispatchToRenderStage(this, cl, command);