• IASetIndexBuffer Offset


    这个Offset官方解释是:Offset (in bytes) from the start of the index buffer to the first index to use.

    翻译成中文就是:是从索引索引开始的第Offset字节算作第一个索引来使用

    这个参数和DrawIndex的StartIndexLocation是一个作用,只不过这个是按字节算的,假如使用的是DXGI_FORMAT_R32_UINT,则跨越三个顶点就是3 * 4 = 12字节了。而StartIndexLocation只需要写3就行了。

  • 相关阅读:
    gevent
    pymongo的数组操作
    pymongo的聚合操作
    python操作redis的情况总结
    协程
    3
    6
    10
    4
    5
  • 原文地址:https://www.cnblogs.com/zhangdongsheng/p/9272461.html
Copyright © 2020-2023  润新知