public static ulong GetOutputDevice(this CVRSystem system, ETextureType textureType, IntPtr pInstance) { ulong pnDevice = 0; system.GetOutputDevice(ref pnDevice, textureType, pInstance); return(pnDevice); }