pub struct Tex3DSTexture { /* private fields */ }Implementations§
Source§impl Tex3DSTexture
impl Tex3DSTexture
pub fn texture(&self) -> &Texture
pub fn into_texture(self) -> Texture
pub fn sub_textures(&self) -> &[Tex3DS_SubTexture]
Sourcepub fn new(data: &[u8], use_vram: bool) -> Option<Tex3DSTexture>
pub fn new(data: &[u8], use_vram: bool) -> Option<Tex3DSTexture>
Import a texture from bytes generated by the tex3ds tool.