Function gvr_sys::gvr_buffer_spec_set_color_format [] [src]

pub unsafe extern fn gvr_buffer_spec_set_color_format(spec: *mut gvr_buffer_spec,
                                                      color_format: i32)

Sets the color format for the buffer to be created. Default format is GVR_COLOR_FORMAT_RGBA_8888.

@param spec Buffer specification. @param color_format The color format for the buffer. Valid formats are in the gvr_color_format_type enum.