Function gvr_sys::gvr_buffer_viewport_set_source_uv
[−]
[src]
pub unsafe extern "C" fn gvr_buffer_viewport_set_source_uv(
viewport: *mut gvr_buffer_viewport,
uv: gvr_rectf
)
Sets the UV coordinates specifying where the output buffer should be sampled when compositing the final distorted image.
@param viewport The buffer viewport. @param uv The new UV coordinates for sampling. The coordinates must be valid, that is, left <= right and bottom <= top. Otherwise an empty source region is set, which will result in no output for this viewport.