|
sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
|
#include "gsKit.h"Go to the source code of this file.
Enumerations | |
| enum | ETransferMode { ETM_INLINE = 0 , ETM_DIRECT } |
Functions | |
| void | gsKit_TexManager_init (GSGLOBAL *gsGlobal) |
| Initialize the texture manager. | |
| void | gsKit_TexManager_setmode (GSGLOBAL *gsGlobal, enum ETransferMode mode) |
| Set the texture transfer mode (inline or direct). | |
| unsigned int | gsKit_TexManager_bind (GSGLOBAL *gsGlobal, GSTEXTURE *tex) |
| Bind a texture to VRAM, will automatically transfer the texture. | |
| void | gsKit_TexManager_invalidate (GSGLOBAL *gsGlobal, GSTEXTURE *tex) |
| Invalidate a texture, will automatically transfer the texture on next bind call. | |
| void | gsKit_TexManager_free (GSGLOBAL *gsGlobal, GSTEXTURE *tex) |
| void | gsKit_TexManager_nextFrame (GSGLOBAL *gsGlobal) |
| enum ETransferMode |
Definition at line 29 of file gsTexManager.h.
| unsigned int gsKit_TexManager_bind | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | tex ) |
Bind a texture to VRAM, will automatically transfer the texture.
Definition at line 215 of file gsTexManager.c.
| void gsKit_TexManager_free | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | tex ) |
Free the texture, this is mainly a performance optimization. The texture will be automatically freed if not used.
Definition at line 291 of file gsTexManager.c.
| void gsKit_TexManager_init | ( | GSGLOBAL * | gsGlobal | ) |
Initialize the texture manager.
Definition at line 194 of file gsTexManager.c.
| void gsKit_TexManager_invalidate | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | tex ) |
Invalidate a texture, will automatically transfer the texture on next bind call.
Definition at line 283 of file gsTexManager.c.
| void gsKit_TexManager_nextFrame | ( | GSGLOBAL * | gsGlobal | ) |
When starting a next frame (on vsync/swap), call this function. It updates texture usage statistics.
Definition at line 310 of file gsTexManager.c.
| void gsKit_TexManager_setmode | ( | GSGLOBAL * | gsGlobal, |
| enum ETransferMode | mode ) |
Set the texture transfer mode (inline or direct).
Definition at line 208 of file gsTexManager.c.