Backend.OpenXR.GetFunction
static TDelegate GetFunction(string functionName)
This is basically xrGetInstanceProcAddr
from OpenXR,
you can use this to get and call functions from an extension
you’ve loaded. This uses Marshal.GetDelegateForFunctionPointer
to turn the result into a delegate that you can call.
string functionName | |
RETURNS: TDelegate | A delegate, or null on failure. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!