| 274 | |
| 275 | template <vkb::BindingType bindingType> |
| 276 | inline typename Buffer<bindingType>::DeviceSizeType Buffer<bindingType>::get_size() const |
| 277 | { |
| 278 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 279 | { |
| 280 | return size; |
| 281 | } |
| 282 | else |
| 283 | { |
| 284 | return static_cast<VkDeviceSize>(size); |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | } // namespace core |
| 289 | } // namespace vkb |
no outgoing calls
no test coverage detected