/// If this [`Texture`] really is a KTX2, returns KTX2-specific functionalities for it.
If this [`Texture`] really is a KTX2, returns KTX2-specific functionalities for it.
If this [ ` Texture ` ] really is a KTX2 returns KTX2 - specific functionalities for it .
pub fn ktx2<'b>(&'b mut self) -> Option<Ktx2<'b, 'a>> {
        // SAFETY: Safe if `self.handle` is sane.
        if unsafe { &*self.handle }.classId == sys::class_id_ktxTexture2_c {
            Some(Ktx2 { texture: self })
        } else {
            None
        }
    }
pub fn ktx2 < ' b > ( & ' b mut self ) -> Option < Ktx2 < ' b , ' a > > { // SAFETY: Safe if `self.handle` is sane. if unsafe { & * self . handle } . classId == sys :: class_id_ktxTexture2_c { Some ( Ktx2 { texture : self } ) } else { None } }
If this [`Texture`] really is a KTX2, returns KTX2-specific functionalities for it.
If this [ ` Texture ` ] really is a KTX2 returns KTX2 - specific functionalities for it .
&'b mut self