Hey thank you for the reply :D…
I have searched that documentation, and if I’m not mistaken, it’s only the base SDK, and as far as I know, there’s no library to do sampling in the base SDK.
And I have found this https://github.com/NatronGitHub/openfx-supportext
I think there’s what I need, but it seems, this code doesn’t have any documentation… ._.