PSD Manager Layer or Render Element from Black & White Map

I meant it would be great if I could create a texture with red, blue and black and each of the three colors assigned an ID number that rendered out to different PSD layers.