摘要: [译]Vulkan教程(24)索引buffer [译]Vulkan教程(24)索引buffer Index buffer 索引buffer Introduction 入门 The 3D meshes you'll be rendering in a real world application will often share vertices 阅读全文
posted @ 2019-07-11 16:12 BIT祝威 阅读(793) 评论(0) 推荐(0) 编辑
摘要: 我们现在的顶点buffer可以正确地工作,但是允许我们从CPU读写的内存类型,对图形卡可能不是最优的。最优的内存有VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT 标志,它通常在专用图形卡上是不能被CPU读写的。本章我们将创建2个顶点buffer。在CPU可读写的内存里的一个暂存buffer,用于保存顶点数组的数据,和最终的设备局部内存的顶点buffer。我们然后用一个buffer复制命令来将数据从暂存buffer移动到实际的顶点buffer。 阅读全文
posted @ 2019-07-11 10:17 BIT祝威 阅读(859) 评论(0) 推荐(0) 编辑
摘要: [译]Vulkan教程(22)创建顶点buffer [译]Vulkan教程(22)创建顶点buffer Vertex buffer creation 创建顶点buffer Introduction 入门 Buffers in Vulkan are regions of memory used for storing arbitrary data th 阅读全文
posted @ 2019-07-11 08:05 BIT祝威 阅读(1111) 评论(0) 推荐(0) 编辑
canvas start.

canvas end.