Files
Seele/src/Engine/Graphics/Vulkan/VulkanBuffer.cpp
T

29 lines
542 B
C++
Raw Normal View History

#include "VulkanGraphicsResources.h"
2020-03-24 21:05:32 +01:00
#include "VulkanInitializer.h"
2020-03-24 21:05:32 +01:00
using namespace Seele;
using namespace Seele::Vulkan;
QueueOwnedResource::QueueOwnedResource(WGraphics graphics, QueueType startQueueType)
: graphics(graphics)
, currentOwner(startQueueType)
{
}
QueueOwnedResource::~QueueOwnedResource()
{
}
Buffer::Buffer(WGraphics graphics, uint32 size, VkBufferUsageFlags usage, QueueType queueType)
: QueueOwnedResource(graphics, queueType)
{
}
Buffer::~Buffer()
{
}
void Buffer::executeOwnershipBarrier(QueueType newOwner)
{
}