Compute shader management and Buffer management.

This commit is contained in:
jussi
2023-10-31 11:52:36 +02:00
parent 65fababd8d
commit f8b4b709e6
7 changed files with 120 additions and 2 deletions

28
API.md
View File

@@ -6924,6 +6924,34 @@ Set shader currently active (id and locations)
---
## RLGL - Compute shader management
---
> programId = RL.rlLoadComputeShaderProgram( int shaderId )
Load compute shader program
- Success return int
---
> RL.rlComputeShaderDispatch( int groupX, int groupY, int groupZ )
Dispatch compute shader (equivalent to *draw* for graphics pipeline)
---
## RLGL - Buffer management
---
> RL.rlBindImageTexture( int id, int index, int format, bool readonly )
Bind image texture
---
## RLGL - Matrix state management
---