Class TextureController

java.lang.Object
org.vrspace.server.api.ApiBase
org.vrspace.server.api.TextureController

@RestController @RequestMapping("/vrspace/api/textures") public class TextureController extends ApiBase
Manages textures known to the server.
Author:
joe
  • Field Details

  • Constructor Details

    • TextureController

      public TextureController()
  • Method Details

    • listTextures

      @GetMapping("/list") public List<String> listTextures()
      List all jpg and png files in content directory hierarchy
    • searchTextures

      @GetMapping("/search") public List<String> searchTextures(String pattern)
      Search textures that contain given substring