Files
obsidian-notes/3Resources/游戏开发/性能优化/卡片/DrawCall.md
2025-09-30 10:01:57 +08:00

7 lines
455 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
tags:
- DrawCall
---
CPU每次调用图像编程接口 glDrawElements(0penGl日中的图元清染函数)或者 DrawIndexedPrimitive(Direct中的顶点绘制方法)命令GPU渲染的操作称为一次Draw CalDraw Cal就是一次渲染命令的调用它指向一个需要被渲染的图元(primitive)列表不包含任何材质信息glDrawElements 或者 DrawIndexedPrimitive 函数的作用是将CPU准备好的顶点数据渲染出来.