[][src]Function gvr_sys::gvr_buffer_spec_set_depth_stencil_format

pub unsafe extern "C" fn gvr_buffer_spec_set_depth_stencil_format(
    spec: *mut gvr_buffer_spec,
    depth_stencil_format: i32
)

Sets the depth and stencil format for the buffer to be created. Currently, only packed stencil formats are supported. Default format is GVR_DEPTH_STENCIL_FORMAT_DEPTH_16.

@param spec Buffer specification. @param depth_stencil_format The depth and stencil format for the buffer. Valid formats are in the gvr_depth_stencil_format_type enum.