| 96 | |
| 97 | template <vkb::BindingType bindingType> |
| 98 | typename BufferAllocation<bindingType>::DeviceSizeType BufferAllocation<bindingType>::get_offset() const |
| 99 | { |
| 100 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 101 | { |
| 102 | return offset; |
| 103 | } |
| 104 | else |
| 105 | { |
| 106 | return static_cast<VkDeviceSize>(offset); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | template <vkb::BindingType bindingType> |
| 111 | typename BufferAllocation<bindingType>::DeviceSizeType BufferAllocation<bindingType>::get_size() const |
no outgoing calls