Files
XCSDD/docs/api/rhi/d3d12/command-list/set-vertex-buffer.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- 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
2026-03-19 12:44:08 +08:00

411 B

D3D12CommandList::SetVertexBuffer

void SetVertexBuffer(uint32_t slot, void* buffer, uint64_t offset, uint32_t stride) override;

设置单个顶点缓冲区。

参数:

  • slot - 顶点缓冲区槽位
  • buffer - 缓冲区指针
  • offset - 缓冲区偏移
  • stride - 顶点 stride

复杂度: O(1)

相关文档