openvr icon indicating copy to clipboard operation
openvr copied to clipboard

How should someone using the C API know to prepend "FnTable:"

Open mickvangelderen opened this issue 6 years ago • 1 comments

I just figured out that when you are calling VR_GetGenericInterface from the C version of the API, you need to supply for example "FnTable:IVRSystem_019" instead of "IVRSystem_019" which is the value of the constant IVRSystem_Version (at least currently).

Am I missing some documentation/information where I should have been able to find this?

Less importantly to me, why aren't IVRSystem_Version and friends defined including the "FnTable" prefix by default? I understand that that would be a backwards incompatible change and that adding C versions bloats the data section. Is there another reason this wasn't done though?

mickvangelderen avatar Dec 13 '18 17:12 mickvangelderen

Why is this not documented, I'm seriously getting angry at how lacking the documentation for this api is lacking

lemonJumps avatar Sep 18 '22 15:09 lemonJumps