BsGLCommandBufferManager.h 799 B

12345678910111213141516171819202122232425262728
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsGLPrerequisites.h"
  5. #include "Managers/BsCommandBufferManager.h"
  6. namespace bs { namespace ct
  7. {
  8. /** @addtogroup GL
  9. * @{
  10. */
  11. /**
  12. * Handles creation of OpenGL command buffers. See CommandBuffer.
  13. *
  14. * @note Core thread only.
  15. */
  16. class GLCommandBufferManager : public CommandBufferManager
  17. {
  18. public:
  19. /** @copydoc CommandBufferManager::createInternal() */
  20. SPtr<CommandBuffer> createInternal(GpuQueueType type, UINT32 deviceIdx = 0, UINT32 queueIdx = 0,
  21. bool secondary = false) override;
  22. };
  23. /** @} */
  24. }}