MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_index_resources()

void MayaFlux::Buffers::VKBuffer::set_index_resources ( vk::Buffer  buf,
vk::DeviceMemory  mem,
size_t  size 
)
inline

Store raw index buffer handles produced by the geometry upload path.

Called by GeometryBindingsProcessor after allocating and uploading index data. Overwrites any previously stored handles. Pass null handles and zero size to clear (non-indexed geometry).

Parameters
bufAllocated vk::Buffer with INDEX usage flags.
memBacking vk::DeviceMemory.
sizeByte size of the index buffer.

Definition at line 339 of file VKBuffer.hpp.

References size.