Пример #1
0
        public void SetSharedResourceHandles(IntPtr[] sharedResourceHandles, int currentWriteIndex)
        {
            _graphicsDeviceService.UpdateHandles(sharedResourceHandles, currentWriteIndex);

            if (_graphicsDeviceService.RenderTarget != null)
            {
                _editorGameWindow.ClientBounds = _graphicsDeviceService.RenderTarget.Bounds;
            }
        }
        public void SetSharedResourceHandles(IntPtr[] sharedResourceHandles, string sharedMmapName)
        {
            _graphicsDeviceService.UpdateHandles(sharedResourceHandles, sharedMmapName);

            if (_graphicsDeviceService.RenderTarget != null)
            {
                _editorGameWindow.ClientBounds = _graphicsDeviceService.RenderTarget.Bounds;
            }
        }