openvr
openvr copied to clipboard
How should someone using the C API know to prepend "FnTable:"
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?
Why is this not documented, I'm seriously getting angry at how lacking the documentation for this api is lacking