![]() ![]() Added some static methods to Hmd to remove the need to call OvrLibrary.INSTANCE directly.Added some argument checking with more informative errors than a crash inside the binary would provide.There are some breaking changes in this API due to some cleanup and some moved classes. If you enable ovrDistortionCap_NoSwapBuffers then the SDK will not call your buffer swapping callback. Note that the ovrDistortionCap_NoSwapBuffers flag still exists, but it should not be used in combination with this function. OVR_EXPORT void ovrHmd_SetSwapBuffersCallback(ovrHmd hmd, Typedef void (*ovrSwapBufferCallback)(void * userData) To rectify the situation and allow the SDK to perform the appropriate timing actions I've altered the SDK slightly to add support for providing a callback function for performing the buffer swap. However, the SDK requirement of native handles is still somewhat overbearing in my opinion. More importantly I understand the reasoning behind the timing logic in the SDK used to perform the buffer swapping. Having had some conversations with the Oculus devs and done some writing on the topic I've come to understand the Timewarp functionality a little better. Updated to 0.3.2.5 (apparently I made a 0.3.2.4 release that I didn't announce.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |