|
| Buffers (void)=default |
|
| ~Buffers (void) |
|
void | init (VkDevice dev_, nngn::DeviceMemory *dev_mem_) |
|
nngn::Buffer & | buffer (u32 b) |
|
std::tuple< VkBuffer, VkDeviceSize > | vbo (std::size_t i, u32 b) |
|
std::tuple< VkBuffer, VkDeviceSize, VkDeviceSize > | ebo (std::size_t i, u32 b) |
|
u32 | create (const nngn::Instance &inst, const nngn::Graphics::BufferConfiguration &conf) |
|
bool | resize (const nngn::Instance &inst, std::size_t n_frames) |
|
bool | set_capacity (const nngn::Instance &inst, u32 b, VkDeviceSize n) |
|
void | set_size (u32 b, u64 size) |
|
void | copy (VkCommandBuffer cmd, u32 dst, VkBuffer src, VkDeviceSize dst_off, VkDeviceSize src_off, VkDeviceSize n) |
|
◆ Type
◆ Buffers()
anonymous_namespace{vulkan.cpp}::Buffers::Buffers |
( |
void | | ) |
|
|
default |
◆ ~Buffers()
anonymous_namespace{vulkan.cpp}::Buffers::~Buffers |
( |
void | | ) |
|
◆ buffer()
nngn::Buffer & anonymous_namespace{vulkan.cpp}::Buffers::buffer |
( |
u32 | b | ) |
|
|
inline |
◆ copy()
void anonymous_namespace{vulkan.cpp}::Buffers::copy |
( |
VkCommandBuffer | cmd, |
|
|
u32 | dst, |
|
|
VkBuffer | src, |
|
|
VkDeviceSize | dst_off, |
|
|
VkDeviceSize | src_off, |
|
|
VkDeviceSize | n ) |
◆ create()
◆ ebo()
std::tuple< VkBuffer, VkDeviceSize, VkDeviceSize > anonymous_namespace{vulkan.cpp}::Buffers::ebo |
( |
std::size_t | i, |
|
|
u32 | b ) |
◆ init()
void anonymous_namespace{vulkan.cpp}::Buffers::init |
( |
VkDevice | dev_, |
|
|
nngn::DeviceMemory * | dev_mem_ ) |
|
inline |
◆ resize()
◆ set_capacity()
◆ set_size()
void anonymous_namespace{vulkan.cpp}::Buffers::set_size |
( |
u32 | b, |
|
|
u64 | size ) |
◆ vbo()
std::tuple< VkBuffer, VkDeviceSize > anonymous_namespace{vulkan.cpp}::Buffers::vbo |
( |
std::size_t | i, |
|
|
u32 | b ) |
◆ buffers
std::vector<nngn::Buffer> anonymous_namespace{vulkan.cpp}::Buffers::buffers = {{}} |
|
private |
◆ conf
std::vector<Configuration> anonymous_namespace{vulkan.cpp}::Buffers::conf = {{}} |
|
private |
◆ dev
VkDevice anonymous_namespace{vulkan.cpp}::Buffers::dev = {} |
|
private |
◆ dev_mem
◆ n_frames
std::size_t anonymous_namespace{vulkan.cpp}::Buffers::n_frames = {} |
|
private |
The documentation for this class was generated from the following file: