Buffer.fromSurface() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
surface |
No |
|
offset? |
{int} |
Yes |
modulo? |
{int} |
Yes |
Not applicable.
Copy information from the specified Surface to this Buffer
. A byte offset can be specified for where the operation will start. For this operation, this Buffer
should be of Grow type with alignment of 1 byte.