| 1234567891011121314 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #include "BsD3D11CommandBufferManager.h"
- #include "BsD3D11CommandBuffer.h"
- namespace bs { namespace ct
- {
- SPtr<CommandBuffer> D3D11CommandBufferManager::createInternal(GpuQueueType type, UINT32 deviceIdx,
- UINT32 queueIdx, bool secondary)
- {
- CommandBuffer* buffer = new (bs_alloc<D3D11CommandBuffer>()) D3D11CommandBuffer(type, deviceIdx, queueIdx, secondary);
- return bs_shared_ptr(buffer);
- }
- }}
|