pub fn with_fragment_opt(self, fragment_bytes: Option<&'static [u8]>) -> Self {
        if let Some(bytes) = fragment_bytes {
            self.with_fragment(bytes)
        } else {
            self
        }
    }
/// Optional version of with_fragment_bytes(), for use in macros
/// This has no effect if None is provided. To remove the fragment shader,
/// use no_fragment() instead.
Optional version of with_fragment_bytes(), for use in macros
This has no effect if None is provided. To remove the fragment shader,
use no_fragment() instead.
Optional version of with_fragment_bytes () for use in macros This has no effect if None is provided . To remove the fragment shader use no_fragment () instead .
pub fn with_fragment_opt(self, fragment_bytes: Option<&'static [u8]>) -> Self {
        if let Some(bytes) = fragment_bytes {
            self.with_fragment(bytes)
        } else {
            self
        }
    }
pub fn with_fragment_opt ( self , fragment_bytes : Option < & ' static [ u8 ] > ) -> Self { if let Some ( bytes ) = fragment_bytes { self . with_fragment ( bytes ) } else { self } }
Optional version of with_fragment_bytes(), for use in macros
This has no effect if None is provided.
Optional version of with_fragment_bytes () for use in macros This has no effect if None is provided .
self
fragment_bytes
Option<&'static [u8]>
self
fragment_bytes
Option<&'static [u8]>