Removed type from the sampler2d component since it can only be of one type.