Hi Ognen,
I tried finding AfhFM.c but without success. Already figured (.c file) you are running the 'VisualStudio' version and not the normal plugin like in the attached screendump.
Already wondered why you asked how to compile the plugin (8bf file)
Oh, in the FAQ section of the website I read: see attached screendump.
So it seems there is partly 16b image support (or only in FilterMeister plugin version?). Only for gradients I guess you have to write a gradient algorithm yourself using the variables supporting 16b values.
I have absolutely no experience with the VisualStudio version.
I'm sure in time you will get a reply from someone with more useful info than me.
FilterMeister originally was developed by Alex Hunter and offered as a plugin (with available documentation) created for developing plugins.
The VisualStudio version is kind of a 'volunteerd help out' version and comes with NO DOCUMENTATION.
Since FilterMeister development later got slow (health and time issues of original developer) it got to a point plugin developers using FilterMeister more or less got stuck when running into a growing gap between moving on technology and the stickyness of FM development.
Harald Heim already reworked part of the FM framework to use in VisualStudio for own use.
Later he modified it heavily for development of his own commercial plugins and workflow all in VisualStudio: he added a bunch of new stuff (64b compatibility, new functions, compatibility with new hosts, easier to port to Mac as well) around it and again: everything was focused on the development of his own plugins.
Due to the ongoing FM development crisis Harald offered to strip 'his FM version' back to a clean framework ready for sharing publicly. This would allow stuck plugin developers to get back on track with developing their (commercial) plugins which was not possible anymore with the outdated original FilterMeister. He did this despite everybody witnessed the popularity of plugins dropping big time and the future of FilterMeister kind of looking dark.
Anyway FM VisualStudio was there BUT it was created 'AS IS': no documentation. Lots of time went into creating it with no personal benefits: all involved time costed slower plugin development for commercial purposes.
Roberto