Contents

primitiveDataStride

Defines the stride, in bytes, between each primitive’s data in the primitive data buffer Primitivedatabuffer references.

Declaration

var primitiveDataStride: Int { get set }

Discussion

You are responsible for ensuring the stride is at least primitiveDataElementSize in size and a multiple of 4 bytes.

This property defaults to 0 bytes, which indicates the stride is equal to primitiveDataElementSize.