adding texture test to tex_demo

This commit is contained in:
Blaise Tine
2021-03-17 09:52:33 -04:00
parent 676a13f30d
commit 2cbc1c4161
17 changed files with 654 additions and 632 deletions

View File

@@ -0,0 +1,15 @@
#include <cstdint>
#include <vector>
#include <iostream>
int LoadTGA(const char *filename,
std::vector<uint8_t> &pixels,
uint32_t *width,
uint32_t *height,
uint32_t *bpp);
int SaveTGA(const char *filename,
const std::vector<uint8_t> &pixels,
uint32_t width,
uint32_t height,
uint32_t bpp);