offsetInBytes property

int offsetInBytes
final

Byte offset of this attribute from the start of each element in the owning vertex buffer. Must satisfy offsetInBytes + format.bytesPerElement <= VertexBuffer.strideInBytes.

Defaults to 0, which is the common case for a structure-of-arrays layout where each buffer holds exactly one attribute.

Implementation

final int offsetInBytes;