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.
This may be larger than the sizes of individual array elements added together, due to internal alignment and padding requirements of different buffer usage modes.
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info