69 void getFromVideoCard(
bool copy_existing)
override;
70 void sendToVideoCard(
bool copy_existing)
override;
71 void* mapMemory(
size_t offset,
size_t size)
const override;
72 void unmapMemory()
const override;
75 VkDeviceMemory m_device_memory;
76 VkBuffer m_vertex_buffer;
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object...
Definition GraphicsPipeline.h:42
A Special abstract TableColumn responsible for interfacing a Buffer of data with the video card....
Definition GraphicsBuffer.h:45
uint04 size() const final override
Definition GraphicsBuffer.h:382
The core String class for the NDEVR API.
Definition String.h:69
A virtual storage type that is used with Table class to store data where the actual mechanism for sto...
Definition TableColumn.h:76
const String & label() const
Stores bools to be sent to both the Vertex and Fragment shaders in the Vulkan space.
Definition VulkanBuffer.h:46
void copyData(const TableColumn &reference_data, bool set_type) override
VkBuffer getVKBuffer() const
void copyData(const VulkanBuffer &reference_data, bool set_type)
VkVertexInputBindingDescription getBindingDescription(uint04 number) const
VkFormat getFormat(uint01 vertex_index) const
void setSize(uint04 buffer_size) final override
static VkBuffer createVKBuffer(uint04 &allocation_size, const VulkanDevice &device, uint04 size, uint04 object_size, uint04 usage, uint04 properties, VkDeviceMemory &bufferMemory)
void insertRows(uint04 location, uint04 add_size) final override
VkFormat getFormat() const
void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, uint04 src_start, uint04 dst_start, uint04 size, bool wait_for_completion)
VulkanBuffer(const String &label, const ConstPointer< VulkanDevice > &vulkan_instance)
static uint04 findMemoryType(const VulkanDevice &device, uint04 typeFilter, uint04 properties)
VulkanBuffer(const TableColumn &reference_data, const ConstPointer< VulkanDevice > &vulkan_instance)
VulkanBuffer(VulkanBuffer &&vulkan_buffer) noexcept
void updateRegion(const TableColumn &column, uint04 offset, uint04 size) override
A GraphicsDevice for managing Vulkan limitations and actions. See: https://docs.vulkan....
Definition VulkanDevice.h:12
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96