pub unsafe extern "C" fn Tex3DS_TextureImportCallback(
    tex: *mut C3D_Tex,
    texcube: *mut C3D_TexCube,
    vram: bool,
    callback: decompressCallback,
    userdata: *mut c_void
) -> Tex3DS_Texture
Expand description

Import Tex3DS texture

For example, use this if you want to import from a large file without pulling the entire file into memory.

§Arguments

  • tex (direction out) - citro3d texture
  • texcube (direction out) - citro3d texcube
  • vram (direction in) - Whether to store textures in VRAM
  • callback (direction in) - Data callback
  • userdata (direction in) - User data passed to callback

§Returns

Tex3DS texture