[][src]Function gvr_sys::gvr_swap_chain_get_buffer_size

pub unsafe extern "C" fn gvr_swap_chain_get_buffer_size(
    swap_chain: *const gvr_swap_chain,
    index: i32
) -> gvr_sizei

Retrieves the size of the specified pixel buffer. Note that if the buffer was resized while the current frame was acquired, the return value will be different than the value obtained from the equivalent function for the current frame.

@param swap_chain The swap chain. @param index Index of the pixel buffer. @return Size of the specified pixel buffer in frames that will be returned from gvr_swap_chain_acquire_frame().