Raygui textures with SetShapesTexture.
This commit is contained in:
@@ -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 )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user