Formatted EVERYTHING
This commit is contained in:
@@ -1,28 +1,19 @@
|
||||
#pragma once
|
||||
#include "Resources.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
namespace Vulkan
|
||||
{
|
||||
namespace Seele {
|
||||
namespace Vulkan {
|
||||
DECLARE_REF(Command)
|
||||
DECLARE_REF(Graphics)
|
||||
class Queue
|
||||
{
|
||||
public:
|
||||
class Queue {
|
||||
public:
|
||||
Queue(PGraphics graphics, uint32 familyIndex, uint32 queueIndex);
|
||||
virtual ~Queue();
|
||||
void submitCommandBuffer(PCommand command, const Array<VkSemaphore>& signalSemaphore);
|
||||
constexpr uint32 getFamilyIndex() const
|
||||
{
|
||||
return familyIndex;
|
||||
}
|
||||
constexpr VkQueue getHandle() const
|
||||
{
|
||||
return queue;
|
||||
}
|
||||
constexpr uint32 getFamilyIndex() const { return familyIndex; }
|
||||
constexpr VkQueue getHandle() const { return queue; }
|
||||
|
||||
private:
|
||||
private:
|
||||
std::mutex queueLock;
|
||||
PGraphics graphics;
|
||||
VkQueue queue;
|
||||
|
||||
Reference in New Issue
Block a user