Transfer textures and samplers to ShaderProgram, and set them through virtual methods in particular shader implementation.