Raygui textures with SetShapesTexture.

This commit is contained in:
jussi
2023-11-30 02:50:00 +02:00
parent 8882d2ff2c
commit aa03fffcb3
15 changed files with 329 additions and 82 deletions

View File

@@ -14,6 +14,7 @@ typedef struct {
int logLevelInvalid;
Font defaultFont;
Material defaultMaterial;
Texture defaultTexture;
int *RLGLcurrentShaderLocs;
/* Events. */
#ifdef PLATFORM_DESKTOP

View File

@@ -70,6 +70,7 @@ int ltexturesImageDrawRectangleLines( lua_State *L );
int ltexturesImageDraw( lua_State *L );
int ltexturesImageDrawTextEx( lua_State *L );
/* Texture loading functions. */
int ltexturesGetTextureDefault( lua_State *L );
int ltexturesLoadTexture( lua_State *L );
int ltexturesLoadTextureFromImage( lua_State *L );
int ltexturesLoadTextureCubemap( lua_State *L );