LibT2FS 0.1
C API for accessing TEngine data in memory.
Loading...
Searching...
No Matches
textures.h File Reference
#include <stdint.h>
#include "t2fs.h"
#include "models/common.h"

Go to the source code of this file.

Data Structures

struct  s_T2FSDataTextureHeader
struct  s_T2FSTexture

Typedefs

typedef struct s_T2FSDataTextureHeader T2FSDataTextureHeader
typedef struct s_T2FSTexture T2FSTexture

Functions

void t2fs_texture_clear (T2FSTexture *texture)
uint32_t t2fs_texture_count (T2FSContext *ctx)
void t2fs_texture_set_frame (T2FSTexture *texture, uint32_t frameIndex)
int t2fs_texture_load (T2FSContext *ctx, T2FSTexture *texture, uint32_t id)
void t2fs_texture_unload (T2FSTexture *texture)

Typedef Documentation

◆ T2FSTexture

typedef struct s_T2FSTexture T2FSTexture

Function Documentation

◆ t2fs_texture_clear()

void t2fs_texture_clear ( T2FSTexture * texture)

◆ t2fs_texture_count()

uint32_t t2fs_texture_count ( T2FSContext * ctx)

◆ t2fs_texture_set_frame()

void t2fs_texture_set_frame ( T2FSTexture * texture,
uint32_t frameIndex )

◆ t2fs_texture_load()

int t2fs_texture_load ( T2FSContext * ctx,
T2FSTexture * texture,
uint32_t id )

◆ t2fs_texture_unload()

void t2fs_texture_unload ( T2FSTexture * texture)