Пример #1
0
        public ID3D12CommandQueue CreateCommandQueue(ID3D12Device5 pDevice)
        {
            ID3D12CommandQueue      pQueue;
            CommandQueueDescription cpDesc = new CommandQueueDescription();

            cpDesc.Flags = CommandQueueFlags.None;
            cpDesc.Type  = CommandListType.Direct;
            pQueue       = pDevice.CreateCommandQueue(cpDesc);

            return(pQueue);
        }