[][src]Function gvr_sys::gvr_buffer_spec_set_size

pub unsafe extern "C" fn gvr_buffer_spec_set_size(
    spec: *mut gvr_buffer_spec,
    size: gvr_sizei
)

Sets the size of the buffer to be created.

@param spec Buffer specification. @param size The size. Width and height must both be greater than zero. Otherwise, the application is aborted.