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