openvr icon indicating copy to clipboard operation
openvr copied to clipboard

C ABI for OpenVR

Open Eclesia opened this issue 1 month ago • 2 comments

Hello,

I made the Java Panama bindings for Khronos ANARI SDK and I would like to do the same with OpenVR for the application and driver API.

But to be able to do so it would require C headers. Not C++.

Is this planned ? Would it be possible to create them ?

Thanks

Eclesia avatar Nov 18 '25 17:11 Eclesia

Hello @Eclesia, does https://github.com/ValveSoftware/openvr/blob/master/headers/openvr_capi.h work for you?

kisak-valve avatar Nov 18 '25 18:11 kisak-valve

Thanks @kisak-valve , this is exactly it. Is it for both application and driver ?

Sorry for not noticing this header before, I was looking at the driver samples and the doc, but none seems to reference this file.

Any barebone sample somewhere ?

Eclesia avatar Nov 18 '25 19:11 Eclesia