Combining JavaFX with native UI and shaders?

Kevin Rushforth kevin.rushforth at oracle.com
Tue Sep 19 22:41:41 UTC 2023


No, this is not possible. At least not in anything resembling a 
supported manner, since there is no API that exposes the underlying 
rendering layer.

-- Kevin


On 9/19/2023 3:04 PM, Rob Nikander wrote:
> Hi,
>
> I’m interested in using JavaFX for a app’s UI, but for parts of the UI I want to use the native OS’s GPU API, to get the maximum possible performance. So on macOS, for example, I want to render it with Metal and write Metal shaders. Is this possible, maybe with help from JNI?
>
> Rob
>



More information about the openjfx-dev mailing list