This method retrieves a texture from the material.
Returns the material texture if it exists, otherwise NULL is returned.