MCPcopy Create free account
hub / github.com/adrien-ben/vulkan-tutorial-rs / create_buffer

Method create_buffer

src/main.rs:1767–1799  ·  view source on GitHub ↗

Create a buffer and allocate its memory. # Returns The buffer, its memory and the actual size in bytes of the allocated memory since in may differ from the requested size.

(
        vk_context: &VkContext,
        size: vk::DeviceSize,
        usage: vk::BufferUsageFlags,
        mem_properties: vk::MemoryPropertyFlags,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

deviceMethod · 0.80
get_mem_propertiesMethod · 0.80

Tested by

no test coverage detected