Function citro3d_sys::Tex3DS_TextureImportFD
source · pub unsafe extern "C" fn Tex3DS_TextureImportFD(
fd: c_int,
tex: *mut C3D_Tex,
texcube: *mut C3D_TexCube,
vram: bool
) -> Tex3DS_Texture
Expand description
Import Tex3DS texture
Starts reading at the current file descriptor’s offset. The file descriptor’s position is left at the end of the decoded data. On error, the file descriptor’s position is indeterminate.
§Arguments
fd
(direction in) - Open file descriptortex
(direction out) - citro3d texturetexcube
(direction out) - citro3d texcubevram
(direction in) - Whether to store textures in VRAM
§Returns
Tex3DS texture