Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

[Metal] vertex_id value when using indirectBuffer

$
0
0
What is the value of the vertex_id attribute in a metal shader when using drawPrimitives with indirectBuffer? I know it is relative to baseVertex when using normal draw but how does it work with indirect draw arguments? It doesn't say anything in the spec so any info on this would really help. Thank you.

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>