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

Method get_size

framework/core/buffer.h:276–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275template <vkb::BindingType bindingType>
276inline 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

Callers 8

buildMethod · 0.45
copy_bufferMethod · 0.45
copy_buffer_implMethod · 0.45
bind_lightingMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
update_uniform_implMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected