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