#ifndef TEXTURE_H
#define TEXTURE_H

#include <stdio.h>
#include <stdint.h>
#include "upng.h"

typedef struct {
    float u;
    float v;
} tex2_t;

void load_png_texture_data(char* filename);

extern upng_t* png_texture;
extern int texture_width;
extern int texture_height;
extern uint32_t* mesh_texture;
extern const uint8_t REDBRICK_TEXTURE[];

#endif
