protected override void ExecuteCommandListsImpl(RendererAbstract.CommandSubmission.CommandList[] commandLists) { using (var commandListsDX12 = new ComArray<SharpDX.Direct3D12.CommandList>(commandLists.Length)) { for (int index = 0; index < commandListsDX12.Length; ++index) { commandListsDX12[index] = ((RendererDX12.CommandSubmission.CommandList)commandLists[index])?.CommandListD3D12; } CommandQueueD3D12.ExecuteCommandLists(commandListsDX12.Length, commandListsDX12); } }
internal SwapChain(ref Descriptor desc, RendererAbstract.Device device, string label) : base(ref desc, device, label) { }
protected override void CreateFromSwapChainImpl(RendererAbstract.SwapChain swapChain, uint backbufferIndex) { ResourceD3D12 = ((SwapChainDX) swapChain).SwapChainDXGI.GetBackBuffer<SharpDX.Direct3D12.Resource>((int) backbufferIndex); }
internal DescriptorHeap(ref Descriptor desc, RendererAbstract.Device device, string label) : base(ref desc, device, label) { }
internal CommandList(ref Descriptor desc, RendererAbstract.Device device, string label) : base(ref desc, device, label) { }