开发者

Number of Geometry Shader Executions?

开发者 https://www.devze.com 2023-03-02 21:12 出处:网络
So a vertex shader is executed for each vertex and a fragment shader for each fragment (right?). How many times is a geometry shad开发者_如何学运维er executed?It\'s executed once for each primitive (

So a vertex shader is executed for each vertex and a fragment shader for each fragment (right?).

How many times is a geometry shad开发者_如何学运维er executed?


It's executed once for each primitive (triangle, line or point) after the vertex shader has transformed the constituent vertices.

0

精彩评论

暂无评论...
验证码 换一张
取 消