#include "vk_local.h"
Go to the source code of this file.
Functions | |
static void | copyBuffer (const VkBuffer *src, VkBuffer *dst, VkDeviceSize size) |
static void | createStagedBuffer (const void *data, VkDeviceSize size, qvkbuffer_t *dstBuffer, qvkbufferopts_t bufferOpts, qvkbuffer_t *stagingBuffer) |
VkResult | QVk_CreateBuffer (VkDeviceSize size, qvkbuffer_t *dstBuffer, const qvkbufferopts_t options) |
void | QVk_FreeBuffer (qvkbuffer_t *buffer) |
VkResult | QVk_CreateStagingBuffer (VkDeviceSize size, qvkbuffer_t *dstBuffer, VkMemoryPropertyFlags reqMemFlags, VkMemoryPropertyFlags prefMemFlags) |
VkResult | QVk_CreateUniformBuffer (VkDeviceSize size, qvkbuffer_t *dstBuffer, VkMemoryPropertyFlags reqMemFlags, VkMemoryPropertyFlags prefMemFlags) |
void | QVk_CreateVertexBuffer (const void *data, VkDeviceSize size, qvkbuffer_t *dstBuffer, qvkbuffer_t *stagingBuffer, VkMemoryPropertyFlags reqMemFlags, VkMemoryPropertyFlags prefMemFlags) |
void | QVk_CreateIndexBuffer (const void *data, VkDeviceSize size, qvkbuffer_t *dstBuffer, qvkbuffer_t *stagingBuffer, VkMemoryPropertyFlags reqMemFlags, VkMemoryPropertyFlags prefMemFlags) |
|
static |
Definition at line 24 of file vk_buffer.c.
Referenced by createStagedBuffer().
|
static |
Definition at line 41 of file vk_buffer.c.
Referenced by QVk_CreateIndexBuffer(), and QVk_CreateVertexBuffer().
VkResult QVk_CreateBuffer | ( | VkDeviceSize | size, |
qvkbuffer_t * | dstBuffer, | ||
const qvkbufferopts_t | options | ||
) |
Definition at line 70 of file vk_buffer.c.
Referenced by createStagedBuffer(), QVk_CreateStagingBuffer(), QVk_CreateUniformBuffer(), and QVk_ReadPixels().
void QVk_CreateIndexBuffer | ( | const void * | data, |
VkDeviceSize | size, | ||
qvkbuffer_t * | dstBuffer, | ||
qvkbuffer_t * | stagingBuffer, | ||
VkMemoryPropertyFlags | reqMemFlags, | ||
VkMemoryPropertyFlags | prefMemFlags | ||
) |
Definition at line 158 of file vk_buffer.c.
Referenced by CreateDynamicBuffers(), CreateStaticBuffers(), and QVk_GetIndexBuffer().
VkResult QVk_CreateStagingBuffer | ( | VkDeviceSize | size, |
qvkbuffer_t * | dstBuffer, | ||
VkMemoryPropertyFlags | reqMemFlags, | ||
VkMemoryPropertyFlags | prefMemFlags | ||
) |
Definition at line 114 of file vk_buffer.c.
Referenced by createStagedBuffer(), and CreateStagingBuffers().
VkResult QVk_CreateUniformBuffer | ( | VkDeviceSize | size, |
qvkbuffer_t * | dstBuffer, | ||
VkMemoryPropertyFlags | reqMemFlags, | ||
VkMemoryPropertyFlags | prefMemFlags | ||
) |
Definition at line 127 of file vk_buffer.c.
Referenced by CreateDynamicBuffers(), and QVk_GetUniformBuffer().
void QVk_CreateVertexBuffer | ( | const void * | data, |
VkDeviceSize | size, | ||
qvkbuffer_t * | dstBuffer, | ||
qvkbuffer_t * | stagingBuffer, | ||
VkMemoryPropertyFlags | reqMemFlags, | ||
VkMemoryPropertyFlags | prefMemFlags | ||
) |
Definition at line 145 of file vk_buffer.c.
Referenced by CreateDynamicBuffers(), CreateStaticBuffers(), and QVk_GetVertexBuffer().
void QVk_FreeBuffer | ( | qvkbuffer_t * | buffer | ) |
Definition at line 106 of file vk_buffer.c.
Referenced by createStagedBuffer(), QVk_ReadPixels(), QVk_Shutdown(), and ReleaseSwapBuffers().