Function gvr_sys::gvr_frame_get_framebuffer_object [] [src]

pub unsafe extern fn gvr_frame_get_framebuffer_object(frame: *const gvr_frame,
                                                      index: i32)
                                                      -> i32

Gets the name (ID) of the framebuffer object associated with the specified buffer. The OpenGL state is not modified.

@param frame Frame handle. @param index Index of a pixel buffer. @return OpenGL object name (ID) of a framebuffer object which can be used to render into the buffer. The ID is valid only until the frame is submitted.