Fireset
Loading...
Searching...
No Matches
image.h
1#pragma once
2
3#include <stdint.h>
4#include "GL/gl.h"
5
11typedef struct{
12 uint8_t* buffer;
13 int width;
14 int height;
15}FsImage;
16
22typedef struct{
23 GLuint id;
24 int width;
25 int height;
27
43FsImage fsImageLoad(const char* filename);
44
62FsTexture fsTextureLoad(const char* filename);
Image data structure.
Definition image.h:11
int width
Definition image.h:13
uint8_t * buffer
Definition image.h:12
int height
Definition image.h:14
Texture data structure.
Definition image.h:22
int height
Definition image.h:25
int width
Definition image.h:24
GLuint id
Definition image.h:23