pub unsafe fn bind_buffer_memory2(
allocator: &mut Allocator<'_>,
buffer: Buffer,
allocation: &Allocation,
local_offset: u64,
next: *const c_void,
) -> Result<(), AllocError>Expand description
Bind one ordinary buffer with a checked allocation-local offset and borrowed native chain.
Uses exact core 1.1 or enabled KHR bind_memory2. Associated resource allocations require offset zero; raw allocations re-query type/size/alignment. Any supplied per-bind status must report success before bound state is published.
§Errors
Reports state/range/capability, malformed chain, per-item status or native errors.
§Safety
Buffer must be live, ordinary and unbound on this device. Chain records and outputs must be valid and enabled for this exact native call; caller owns their extents/lifetimes and native error/device-loss recovery. No aliasing is admitted.