PSPSDK 2026-09-28
Loading...
Searching...
No Matches
SceFontCache Struct Reference

Font cache data. More...

#include <font/pspfont.h>

Data Fields

void ** cache
 Another cache instance, or just null.
 
int(* lock )(void *cache)
 Lock the cache.
 
int(* unlock )(void *cache)
 Unlock the cache.
 
void *(* find )(void *cache, unsigned int value, int key[4], unsigned int *result)
 Find the key in cache.
 
int(* writeKV )(void *cache, void *slot, int key[4])
 
int(* write0 )(void *cache, void *slot, void *data, int size)
 
int(* write1 )(void *cache, void *slot, void *data, int size)
 
int(* write2 )(void *cache, void *slot, void *data, int size)
 
int(* write3 )(void *cache, void *slot, void *data, int size)
 
int(* read0 )(void *cache, void *slot, void *dest)
 
int(* read1 )(void *cache, void *slot, void *dest)
 
int(* read2 )(void *cache, void *slot, void *dest)
 
int(* read3 )(void *cache, void *slot, void *dest)
 

Detailed Description

Font cache data.

See also
SceFontLibData

Field Documentation

◆ cache

void** SceFontCache::cache

Another cache instance, or just null.

◆ find

void *(* SceFontCache::find) (void *cache, unsigned int value, int key[4], unsigned int *result)

Find the key in cache.

Parameters
cache- Cache instance.
value- Generated.
key- Key to search for.
result- 1 on success, 0 otherwise.
Returns
Pointer to the slot where it was found, NULL otherwise.

◆ lock

int(* SceFontCache::lock) (void *cache)

Lock the cache.

◆ read0

int(* SceFontCache::read0) (void *cache, void *slot, void *dest)

◆ read1

int(* SceFontCache::read1) (void *cache, void *slot, void *dest)

◆ read2

int(* SceFontCache::read2) (void *cache, void *slot, void *dest)

◆ read3

int(* SceFontCache::read3) (void *cache, void *slot, void *dest)

◆ unlock

int(* SceFontCache::unlock) (void *cache)

Unlock the cache.

◆ write0

int(* SceFontCache::write0) (void *cache, void *slot, void *data, int size)

◆ write1

int(* SceFontCache::write1) (void *cache, void *slot, void *data, int size)

◆ write2

int(* SceFontCache::write2) (void *cache, void *slot, void *data, int size)

◆ write3

int(* SceFontCache::write3) (void *cache, void *slot, void *data, int size)

◆ writeKV

int(* SceFontCache::writeKV) (void *cache, void *slot, int key[4])

The documentation for this struct was generated from the following file: