コード例 #1
0
        public CommandQueue CreateCommandQueue(Device device, CommandQueueProperties properties)
        {
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }

            CommandQueueSafeHandle handle = UnsafeNativeMethods.CreateCommandQueue(this.Handle, device.ID, properties);

            return(new CommandQueue(handle, this, device));
        }