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

@@ -1035,6 +1035,19 @@ int ltexturesImageDrawTextEx( lua_State *L ) {
## Textures - Texture loading functions
*/
/*
> texture = RL.GetTextureDefault()
Get default texture. Return as lightuserdata
- Success return Texture
*/
int ltexturesGetTextureDefault( lua_State *L ) {
lua_pushlightuserdata( L, &state->defaultTexture );
return 1;
}
/*
> texture = RL.LoadTexture( string fileName )