bind a data buffer to a request (request must not currently have a buffer bound, must be called from response callback
cancel a request that's in flight (will call response callback with .cancelled + .finished)
continue a paused request
get the desc struct that was passed to sfetch_setup()
do per-frame work, moves requests into and out of IO threads, and invokes response-callbacks
return true if a handle is valid *and* the request is alive
return the value of the SFETCH_MAX_PATH implementation config value
return the max userdata size in number of bytes (SFETCH_MAX_USERDATA_UINT64 * sizeof(uint64_t))
pause a request (will call response callback each frame with .paused)
send a fetch-request, get handle to request back
setup sokol-fetch (can be called on multiple threads)
bind a data buffer to a request (request must not currently have a buffer bound, must be called from response callback
cancel a request that's in flight (will call response callback with .cancelled + .finished)
continue a paused request
get the desc struct that was passed to sfetch_setup()
do per-frame work, moves requests into and out of IO threads, and invokes response-callbacks
return true if a handle is valid *and* the request is alive
return the value of the SFETCH_MAX_PATH implementation config value
return the max userdata size in number of bytes (SFETCH_MAX_USERDATA_UINT64 * sizeof(uint64_t))
pause a request (will call response callback each frame with .paused)
send a fetch-request, get handle to request back
setup sokol-fetch (can be called on multiple threads)
discard a sokol-fetch context
clear the 'buffer binding' of a request, returns previous buffer pointer (can be 0), must be called from response callback
return true if sokol-fetch has been setup
discard a sokol-fetch context
clear the 'buffer binding' of a request, returns previous buffer pointer (can be 0), must be called from response callback
return true if sokol-fetch has been setup
sfetch_allocator_t
configuration values for sfetch_setup()
a request handle to identify an active fetch request, returned by sfetch_send()
sfetch_logger_t
sfetch_range_t
request parameters passed to sfetch_send()
the response struct passed to the response callback