Texture resource class added