[][src]Function gvr_sys::gvr_swap_chain_resize_buffer

pub unsafe extern "C" fn gvr_swap_chain_resize_buffer(
    swap_chain: *mut gvr_swap_chain,
    index: i32,
    size: gvr_sizei
)

Resizes the specified pixel buffer to the given size. The frames are resized when they are unused, so the currently acquired frame will not be resized immediately.

@param swap_chain The swap chain. @param index Index of the pixel buffer to resize. @param size New size for the specified pixel buffer.