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 (t_t2fs *lib)
void t2fs_texture_set_frame (t2fsTexture *texture, uint32_t frameIndex)
int t2fs_texture_load (t_t2fs *lib, 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 ( t_t2fs * lib)

◆ t2fs_texture_set_frame()

void t2fs_texture_set_frame ( t2fsTexture * texture,
uint32_t frameIndex )

◆ t2fs_texture_load()

int t2fs_texture_load ( t_t2fs * lib,
t2fsTexture * texture,
uint32_t id )

◆ t2fs_texture_unload()

void t2fs_texture_unload ( t2fsTexture * texture)