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#pragma once
4
5#include "BsGLPrerequisites.h"
6#include "Managers/BsCommandBufferManager.h"
7
8namespace bs { namespace ct
9{
10 /** @addtogroup GL
11 * @{
12 */
13
14 /**
15 * Handles creation of OpenGL command buffers. See CommandBuffer.
16 *
17 * @note Core thread only.
18 */
19 class GLCommandBufferManager : public CommandBufferManager
20 {
21 public:
22 /** @copydoc CommandBufferManager::createInternal() */
23 SPtr<CommandBuffer> createInternal(GpuQueueType type, UINT32 deviceIdx = 0, UINT32 queueIdx = 0,
24 bool secondary = false) override;
25 };
26
27 /** @} */
28}}