mirror of
https://github.com/CTurt/dsgmLib.git
synced 2025-06-18 22:55:33 -04:00
15 lines
362 B
C
15 lines
362 B
C
#pragma once
|
|
|
|
#define DSGM_FORM_RAM_TEXTURE(type, width, height, data) { type, width, height, data, -1 }
|
|
|
|
typedef struct {
|
|
GL_TEXTURE_TYPE_ENUM type;
|
|
enum GL_TEXTURE_SIZE_ENUM width;
|
|
enum GL_TEXTURE_SIZE_ENUM height;
|
|
const unsigned char *data;
|
|
int id;
|
|
} DSGM_Texture;
|
|
|
|
void DSGM_LoadTexture(DSGM_Texture *texture);
|
|
void DSGM_ScaleTexture(float x, float y);
|