Function citro3d_sys::Tex3DS_TextureImportStdio
source · 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 streamtex
(direction out) - citro3d texturetexcube
(direction out) - citro3d texcubevram
(direction in) - Whether to store textures in VRAM
§Returns
Tex3DS texture