MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / BufferAllocation

Method BufferAllocation

framework/buffer_pool.h:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63template <>
64inline BufferAllocation<vkb::BindingType::Cpp>::BufferAllocation(vkb::core::BufferCpp &buffer, vk::DeviceSize size, vk::DeviceSize offset) :
65 buffer(&buffer),
66 offset(offset),
67 size(size)
68{}
69
70template <>
71inline BufferAllocation<vkb::BindingType::C>::BufferAllocation(vkb::core::BufferC &buffer, VkDeviceSize size, VkDeviceSize offset) :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected