Type Definition gvr_sys::gvr_buffer_viewport [] [src]

type gvr_buffer_viewport = gvr_buffer_viewport_;

A structure that ties together a region of a buffer, the field of view rendered into that region and a target eye index to define part of the user's field of view. The SDK implementation uses this information to transform the images generated by the app output into the final display that is sent to the screen.

A set of these structures will most often be generated by the API, via gvr_get_recommended_buffer_viewports() or gvr_get_screen_buffer_viewports(). However, the client may also customize these values via gvr_buffer_viewport_list_set(), constructing a custom gvr_buffer_viewport_list for use in the distortion pass.