Allow assigning Transform instances to shader variables.