| Context(s) | shading_contexts |
int getprimid()
Returns the primitive number for the current geometric primitive being shaded.
| shading |
|