Added a texture interface.