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;
2020-04-01 02:17:49 +02:00
QueueOwnedResource::QueueOwnedResource(PGraphics graphics, QueueType startQueueType)
: graphics(graphics)
, currentOwner(startQueueType)
{
}
QueueOwnedResource::~QueueOwnedResource()
{
}
2020-04-01 02:17:49 +02:00
Buffer::Buffer(PGraphics graphics, uint32 size, VkBufferUsageFlags usage, QueueType queueType)
: QueueOwnedResource(graphics, queueType)
{
}
Buffer::~Buffer()
{
}
void Buffer::executeOwnershipBarrier(QueueType newOwner)
{
}