protected override void DisposeCore(bool isDisposing) { if (isDisposing) { _windowService.Dispose(DisposeWindowService); } }
protected override void DisposeCore(bool isDisposing) { if (isDisposing) { _audioService.Dispose(DisposeAudioService); } }
protected override void DisposeCore(bool isDisposing) { if (isDisposing) { _graphicsService.Dispose(DisposeGraphicsService); _baseServiceProvider?.Dispose(); } }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _d3d12Resource.Dispose(ReleaseIfNotNull); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _vulkanFence.Dispose(DisposeVulkanFence); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _vulkanDeviceMemory.Dispose(DisposeVulkanDeviceMemory); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _d3d12Fence.Dispose(ReleaseIfNotNull); _d3d12FenceSignalEvent.Dispose(DisposeEventHandle); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _vulkanShaderModule.Dispose(DisposeVulkanShaderModule); DisposeVulkanShaderModuleCreateInfo(); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _vulkanSampler.Dispose(DisposeVulkanSampler); _vulkanImageView.Dispose(DisposeVulkanImageView); _vulkanImage.Dispose(DisposeVulkanImage); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _vulkanDescriptorSet.Dispose(DisposeVulkanDescriptorSet); _vulkanDescriptorSetLayout.Dispose(DisposeVulkanDescriptorSetLayout); _vulkanDescriptorPool.Dispose(DisposeVulkanDescriptorPool); _vulkanPipelineLayout.Dispose(DisposeVulkanPipelineLayout); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _vulkanPipeline.Dispose(DisposeVulkanPipeline); Signature?.Dispose(); PixelShader?.Dispose(); VertexShader?.Dispose(); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _d3d12PipelineState.Dispose(ReleaseIfNotNull); DisposeIfNotNull(Signature); DisposeIfNotNull(PixelShader); DisposeIfNotNull(VertexShader); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _graphicsAdapters.Dispose(DisposeIfNotDefault); _dxgiFactory.Dispose(ReleaseIfNotNull); if (DebugModeEnabled) { TryReportLiveObjects(); } } _state.EndDispose();
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _d3d12GraphicsCommandList.Dispose(ReleaseIfNotNull); _d3d12CommandAllocator.Dispose(ReleaseIfNotNull); _d3d12RenderTargetView.Dispose(); _d3d12RenderTargetResource.Dispose(ReleaseIfNotNull); DisposeIfNotNull(_waitForExecuteCompletionGraphicsFence); DisposeIfNotNull(_graphicsFence); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { _vulkanCommandBuffer.Dispose(DisposeVulkanCommandBuffer); _vulkanCommandPool.Dispose(DisposeVulkanCommandPool); _vulkanFramebuffer.Dispose(DisposeVulkanFramebuffer); _vulkanSwapChainImageView.Dispose(DisposeVulkanSwapChainImageView); DisposeIfNotNull(_waitForExecuteCompletionGraphicsFence); DisposeIfNotNull(_graphicsFence); } _state.EndDispose(); }
/// <inheritdoc /> protected override void Dispose(bool isDisposing) { var priorState = _state.BeginDispose(); if (priorState < Disposing) { if (_adapters.IsValueCreated) { foreach (var adapter in _adapters.Value) { adapter?.Dispose(); } } _dxgiFactory.Dispose(ReleaseIfNotNull); if (DebugModeEnabled) { TryReportLiveObjects(); } } _state.EndDispose();
protected override void DisposeCore(bool isDisposing) { _graphicsService.Dispose(DisposeGraphicsService); base.DisposeCore(isDisposing); }