Tex3DS routines.
More...
#include <tex3ds.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Go to the source code of this file.
|
struct | __attribute__ ((packed)) |
|
Tex3DS_Texture | Tex3DS_TextureImport (const void *input, size_t insize, C3D_Tex *tex, C3D_TexCube *texcube, bool vram) |
|
Tex3DS_Texture | Tex3DS_TextureImportCallback (C3D_Tex *tex, C3D_TexCube *texcube, bool vram, decompressCallback callback, void *userdata) |
|
Tex3DS_Texture | Tex3DS_TextureImportFD (int fd, C3D_Tex *tex, C3D_TexCube *texcube, bool vram) |
|
Tex3DS_Texture | Tex3DS_TextureImportStdio (FILE *fp, C3D_Tex *tex, C3D_TexCube *texcube, bool vram) |
|
size_t | Tex3DS_GetNumSubTextures (const Tex3DS_Texture texture) |
|
const Tex3DS_SubTexture * | Tex3DS_GetSubTexture (const Tex3DS_Texture texture, size_t index) |
|
void | Tex3DS_TextureFree (Tex3DS_Texture texture) |
|
Tex3DS routines.
Definition in file tex3ds.c.
◆ __attribute__()
struct __attribute__ |
( |
(packed) |
| ) |
|
◆ Tex3DS_GetNumSubTextures()
size_t Tex3DS_GetNumSubTextures |
( |
const Tex3DS_Texture |
texture | ) |
|
◆ Tex3DS_GetSubTexture()
const Tex3DS_SubTexture * Tex3DS_GetSubTexture |
( |
const Tex3DS_Texture |
texture, |
|
|
size_t |
index |
|
) |
| |
◆ Tex3DS_TextureFree()
void Tex3DS_TextureFree |
( |
Tex3DS_Texture |
texture | ) |
|
◆ Tex3DS_TextureImport()
Tex3DS_Texture Tex3DS_TextureImport |
( |
const void * |
input, |
|
|
size_t |
insize, |
|
|
C3D_Tex * |
tex, |
|
|
C3D_TexCube * |
texcube, |
|
|
bool |
vram |
|
) |
| |
◆ Tex3DS_TextureImportCallback()
Tex3DS_Texture Tex3DS_TextureImportCallback |
( |
C3D_Tex * |
tex, |
|
|
C3D_TexCube * |
texcube, |
|
|
bool |
vram, |
|
|
decompressCallback |
callback, |
|
|
void * |
userdata |
|
) |
| |
◆ Tex3DS_TextureImportFD()
Tex3DS_Texture Tex3DS_TextureImportFD |
( |
int |
fd, |
|
|
C3D_Tex * |
tex, |
|
|
C3D_TexCube * |
texcube, |
|
|
bool |
vram |
|
) |
| |
◆ Tex3DS_TextureImportStdio()
Tex3DS_Texture Tex3DS_TextureImportStdio |
( |
FILE * |
fp, |
|
|
C3D_Tex * |
tex, |
|
|
C3D_TexCube * |
texcube, |
|
|
bool |
vram |
|
) |
| |
◆ Tex3DSi_Header