///
/// Returns the number of samples per pixel when multisampling is
/// enabled. By default, multisampling is disabled.
///
/// **See also:** [`set_samples()`]
Returns the number of samples per pixel when multisampling is
enabled. By default, multisampling is disabled.


Returns the number of samples per pixel when multisampling is enabled . By default multisampling is disabled .
pub fn samples(&self) -> i32 {
        let (obj_data, funcs) = self.get_surface_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).samples)(obj_data);
            ret_val
        }
    }
pub fn samples ( & self ) -> i32 { let ( obj_data , funcs ) = self . get_surface_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . samples ) ( obj_data ) ; ret_val } }
Returns the number of samples per pixel when multisampling is
enabled.
Returns the number of samples per pixel when multisampling is enabled .
&self