Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
拥有 obj 文件的组件(纹理、法线和顶点的分隔值具有自己的索引)。是否可以将纹理、顶点和法线值分别发送到缓冲区?
Direct3D 不直接支持独立索引的顶点组件。您可以设置一个仅包含 .obj 文件中的索引的顶点缓冲区,并自己从顶点着色器中的 StructuredBuffer 中查找各个组件。