Sets the material bound to the specified index.
Sets the material bound to the specified index and entityIndex