pub fn new_texture_buffer_alignment(&self) -> Option<u32> {
        match self.os() {
            OS::iOS => {
                if self.os_version() >= 11 {
                    None
                } else if self.gpu_family() == 3 {
                    Some(16)
                } else {
                    Some(64)
                }
            }
            OS::tvOS => {
                if self.os_version() >= 11 {
                    None
                } else {
                    Some(64)
                }
            }
            OS::macOS => None,
        }
    }
/// If this function returns `None` but linear textures are supported,
/// the buffer alignment can be discovered via API query
If this function returns `None` but linear textures are supported,
the buffer alignment can be discovered via API query
If this function returns ` None ` but linear textures are supported the buffer alignment can be discovered via API query
pub fn new_texture_buffer_alignment(&self) -> Option<u32> {
        match self.os() {
            OS::iOS => {
                if self.os_version() >= 11 {
                    None
                } else if self.gpu_family() == 3 {
                    Some(16)
                } else {
                    Some(64)
                }
            }
            OS::tvOS => {
                if self.os_version() >= 11 {
                    None
                } else {
                    Some(64)
                }
            }
            OS::macOS => None,
        }
    }
pub fn new_texture_buffer_alignment ( & self ) -> Option < u32 > { match self . os ( ) { OS :: iOS => { if self . os_version ( ) >= 11 { None } else if self . gpu_family ( ) == 3 { Some ( 16 ) } else { Some ( 64 ) } } OS :: tvOS => { if self . os_version ( ) >= 11 { None } else { Some ( 64 ) } } OS :: macOS => None , } }
If this function returns `None` but linear textures are supported,
the buffer alignment can be discovered via API query
If this function returns ` None ` but linear textures are supported the buffer alignment can be discovered via API query
&self
&self