#include <resource.h>
|
VkDeviceMemory | mem () const |
|
template<VkMemoryPropertyFlags f> |
bool | init (VkDevice dev, DeviceMemory *dev_mem, VkDeviceSize size, VkBufferUsageFlags usage) |
|
void | destroy (VkDevice dev, DeviceMemory *dev_mem) |
|
void | memcpy (VkDevice dev, VkDeviceSize off, std::span< const std::byte > s) const |
|
void | fill (VkDevice dev, VkDeviceSize off, VkDeviceSize n, VkDeviceSize stride, std::span< const std::byte > s) const |
|
VkBuffer | id () const |
|
VkDeviceSize | size () const |
|
VkDeviceSize | capacity () const |
|
void | set_size (VkDeviceSize s) |
|
◆ destroy()
◆ fill()
void nngn::DedicatedBuffer::fill |
( |
VkDevice | dev, |
|
|
VkDeviceSize | off, |
|
|
VkDeviceSize | n, |
|
|
VkDeviceSize | stride, |
|
|
std::span< const std::byte > | s ) const |
◆ init()
template<VkMemoryPropertyFlags f>
bool nngn::DedicatedBuffer::init |
( |
VkDevice | dev, |
|
|
DeviceMemory * | dev_mem, |
|
|
VkDeviceSize | size, |
|
|
VkBufferUsageFlags | usage ) |
◆ mem()
VkDeviceMemory nngn::DedicatedBuffer::mem |
( |
| ) |
const |
|
inline |
◆ memcpy()
void nngn::DedicatedBuffer::memcpy |
( |
VkDevice | dev, |
|
|
VkDeviceSize | off, |
|
|
std::span< const std::byte > | s ) const |
◆ hm
VkDeviceMemory nngn::DedicatedBuffer::hm = {} |
|
private |
The documentation for this class was generated from the following files: