RLGL Textures state functions.

This commit is contained in:
jussi
2023-06-02 16:18:32 +03:00
parent 9f979ad69c
commit d550afa3d4
7 changed files with 262 additions and 2 deletions

61
API.md
View File

@@ -6833,6 +6833,67 @@ Get light enabled
---
## RLGL - Textures state
---
> success = RL.rlActiveTextureSlot( int slot )
Select and active a texture slot
- Failure return false
- Success return true
---
> success = RL.rlEnableTexture( int id )
Enable texture
- Failure return false
- Success return true
---
> RL.rlDisableTexture()
Disable texture
---
> success = RL.rlEnableTextureCubemap( int id )
Enable texture cubemap
- Failure return false
- Success return true
---
> RL.rlDisableTextureCubemap()
Disable texture cubemap
---
> success = RL.rlTextureParameters( int id, int param, int value )
Set texture parameters ( filter, wrap )
- Failure return false
- Success return true
---
> success = RL.rlCubemapParameters( int id, int param, int value )
Set cubemap parameters ( filter, wrap )
- Failure return false
- Success return true
---
## RLGL - Framebuffer state
---