public void BindIndexBuffer(DeviceBuffer buffer, VkIndexType indexType, ulong offset = 0) { CheckBegun(); CheckInRenderPass(); vkCmdBindIndexBuffer(vkCmd, buffer.vkBuffer, offset, indexType); }
public void CopyBufferTo(DeviceBuffer srcBuffer, DeviceBuffer dstBuffer, ulong srcOffset, ulong dstOffset, ulong numBytes) => CopyBufferTo(srcBuffer.vkBuffer, dstBuffer.vkBuffer, srcOffset, dstOffset, numBytes);