Function citro3d_sys::Tex3DS_TextureImportCallback
source · 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 texturetexcube
(direction out) - citro3d texcubevram
(direction in) - Whether to store textures in VRAMcallback
(direction in) - Data callbackuserdata
(direction in) - User data passed to callback
§Returns
Tex3DS texture