/// <summary> /// Sets whether the frame count per render is managed using the hardware vsync or manually timed. /// </summary> /// <param name="useHardware">True if the hardware vsync should be used.</param> internal void SetUseHardwareVSync(bool useHardware) { NDalicManualPINVOKE.Adaptor_SetUseHardwareVSync(swigCPtr, useHardware); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }