Skip to content

getprimid

Context(s)shading

int  getprimid()

Returns the primitive number for the current geometric primitive being shaded.