[][src]Function gvr_sys::gvr_frame_bind_buffer

pub unsafe extern "C" fn gvr_frame_bind_buffer(
    frame: *mut gvr_frame,
    index: i32
)

Binds a pixel buffer that is part of the frame to the OpenGL framebuffer.

@param frame Frame handle acquired from the swap chain. @param index Index of the pixel buffer to bind. This corresponds to the index in the buffer spec list that was passed to gvr_swap_chain_create().