func (hmd *Hmd) EndFrame(renderPose [2]Posef, eyeTexture [2]Texture) { _renderPose := [2]C.ovrPosef{renderPose[0].toC(), renderPose[1].toC()} _eyeTexture := [2]C.ovrTexture{eyeTexture[0].toC(), eyeTexture[1].toC()} C.ovrHmd_EndFrame(hmd.hmdRef, &_renderPose[0], &_eyeTexture[0]) }
func (this *Hmd) EndFrame() { C.ovrHmd_EndFrame(this.cptr()) }