pub fn from_raw_owned_config(
        data: Vec<u8>,
        config: TextureOptions,
    ) -> Result<Self, TextureError> {
        Ok(Self {
            image: TextureData::U8(data),
            config,
        })
    }
/// Loads an image from raw 8 bit pixel data using the provided settings
Loads an image from raw 8 bit pixel data using the provided settings
Loads an image from raw 8 bit pixel data using the provided settings
pub fn from_raw_owned_config(
        data: Vec<u8>,
        config: TextureOptions,
    ) -> Result<Self, TextureError> {
        Ok(Self {
            image: TextureData::U8(data),
            config,
        })
    }
pub fn from_raw_owned_config ( data : Vec < u8 > , config : TextureOptions , ) -> Result < Self , TextureError > { Ok ( Self { image : TextureData :: U8 ( data ) , config , } ) }
Loads an image from raw 8 bit pixel data using the provided settings
Loads an image from raw 8 bit pixel data using the provided settings
data
Vec<u8>
config
TextureOptions
data
Vec<u8>
config
TextureOptions