pub unsafe extern "C" fn Tex3DS_TextureImportStdio(
    fp: *mut FILE,
    tex: *mut C3D_Tex,
    texcube: *mut C3D_TexCube,
    vram: bool
) -> Tex3DS_Texture
Expand description

Import Tex3DS texture

Starts reading at the current file stream’s offset. The file stream’s position is left at the end of the decoded data. On error, the file stream’s position is indeterminate.

§Arguments

  • fp (direction in) - Open file stream
  • tex (direction out) - citro3d texture
  • texcube (direction out) - citro3d texcube
  • vram (direction in) - Whether to store textures in VRAM

§Returns

Tex3DS texture