Add methods to send uniforms and textures.