setReleaseSyncToken

abstract var setReleaseSyncToken: (syncToken: SharedTextureSyncToken) -> Unit(source)

This method is for advanced users. If used, this object's underlying resource will not be released until the set sync token is fulfilled at gpu process. By using sync tokens, users are not required to use release callbacks for lifetime management.