GetBufferData extra arguments. GetBufferElementSize and GetBufferLength.

This commit is contained in:
jussi
2024-02-16 17:28:09 +02:00
parent 48adbe20dc
commit b2b8219295
7 changed files with 102 additions and 26 deletions

View File

@@ -1419,6 +1419,8 @@ void luaRegister() {
assingGlobalFunction( "GetBufferData", lcoreGetBufferData );
assingGlobalFunction( "GetBufferType", lcoreGetBufferType );
assingGlobalFunction( "GetBufferSize", lcoreGetBufferSize );
assingGlobalFunction( "GetBufferElementSize", lcoreGetBufferElementSize );
assingGlobalFunction( "GetBufferLength", lcoreGetBufferLength );
assingGlobalFunction( "ExportBuffer", lcoreExportBuffer );
/* Shapes. */