From f8b4b709e62c0fe25e4483925bac4abea5d8cafe Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 31 Oct 2023 11:52:36 +0200 Subject: Compute shader management and Buffer management. --- API.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index 43b20fc..b23c9eb 100644 --- a/API.md +++ b/API.md @@ -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 --- -- cgit v1.2.3