| 1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
|---|---|
| 2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
| 3 | #include "Managers/BsCommandBufferManager.h" |
| 4 | |
| 5 | namespace bs { namespace ct |
| 6 | { |
| 7 | SPtr<CommandBuffer> CommandBufferManager::create(GpuQueueType type, UINT32 deviceIdx, UINT32 queueIdx, |
| 8 | bool secondary) |
| 9 | { |
| 10 | assert(deviceIdx < BS_MAX_DEVICES); |
| 11 | |
| 12 | return createInternal(type, deviceIdx, queueIdx, secondary); |
| 13 | } |
| 14 | }} |