buffer_get_alignment

Get the byte alignment of the given buffer.

Syntax:

buffer_get_alignment(buffer);


Argument Description
buffer The index of the buffer to check.


Returns: Real


Description

With this function you can get the a byte alignment for the given buffer ID.


Example:

alignment = buffer_get_alignment(buff);

The above code will get the alignment of the buffer from the value indexed in the variable "buff" and store it in a variable.


Back: Buffers
Next: buffer_get_address
© Copyright YoYo Games Ltd. 2018 All Rights Reserved