first commit
This commit is contained in:
13
src/texture.h
Normal file
13
src/texture.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "COMMON.h"
|
||||
|
||||
struct Texture
|
||||
{
|
||||
GLuint handle = 0;
|
||||
ivec2 size = {0, 0};
|
||||
s32 channels = -1;
|
||||
};
|
||||
|
||||
bool texture_init(Texture* self, const char* path);
|
||||
void texture_free(Texture* self);
|
Reference in New Issue
Block a user