GraphicsBuffer:getElementStride

Available since LÖVE 12.0
This function is not supported in earlier versions.

Gets the size in bytes used by one array element of this GraphicsBuffer.

Function

Synopsis

stride = GraphicsBuffer:getElementStride( )

Arguments

None.

Returns

number stride
The size in bytes used by one array element of this Buffer.

See Also

Other Languages