buffer_get_alignment

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

 

Syntax:

buffer_get_alignment(buffer);

ArgumentType Description
bufferBuffer The index of the buffer to check.

 

Returns:

Real

 

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.