Function gvr_sys::gvr_frame_get_buffer_size
[−]
[src]
pub unsafe extern "C" fn gvr_frame_get_buffer_size(
frame: *const gvr_frame,
index: i32
) -> gvr_sizei
Returns the dimensions of the pixel buffer with the specified index. Note that a frame that was acquired before resizing a swap chain buffer will not be resized until it is submitted to the swap chain.
@param frame Frame handle. @param index Index of the pixel buffer to inspect. @return Dimensions of the specified pixel buffer.