Skip to content

getobjectname

Context(s)shading

string  getobjectname()

Returns the name of the current object whose shader is being run, or the empty string if there is no current object.