Skip to content

Cache

Cache single image

POST /api/engine/cache

Cache single image/texture

Request Body

1
2
3
{
  "image": "C:\\Path\\To\\Image.jpg"
}

Response

None

Cache multiple images

POST /api/engine/cache

Cache multiple images/textures

Request Body

1
2
3
4
5
6
{
  "images": [
    "C:\\Path\\To\\Image1.jpg",
    "C:\\Path\\To\\Image2.jpg",
  ]
}

Response

None

Clear Cache

GET /api/engine/cache/clear

Clears cache of texture subsystem