- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
696 B
696 B
RHICommandList::SetVertexBuffers
virtual void SetVertexBuffers(uint32_t startSlot, uint32_t count, const uint64_t* buffers, const uint64_t* offsets, const uint32_t* strides) = 0;
设置多个顶点缓冲区。
参数:
startSlot- 起始槽位count- 缓冲区数量buffers- 缓冲区指针数组offsets- 偏移量数组strides- 步长数组
示例:
uint64_t buffers[2] = {(uint64_t)vb1, (uint64_t)vb2};
uint64_t offsets[2] = {0, 0};
uint32_t strides[2] = {sizeof(Vertex), sizeof(Vertex)};
cmdList->SetVertexBuffers(0, 2, buffers, offsets, strides);
相关文档
- RHICommandList 总览 - 返回类总览