From d550afa3d41e49c6cb215498db0eb547a628d578 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 2 Jun 2023 16:18:32 +0300 Subject: RLGL Textures state functions. --- API.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index b846443..39eaef7 100644 --- a/API.md +++ b/API.md @@ -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 --- -- cgit v1.2.3