VertexBufferLayout


class VertexBufferLayout


Defines the memory layout and step rate for a single vertex buffer.

Summary

Public constructors

VertexBufferLayout(
    arrayStride: Long,
    stepMode: Int,
    attributes: Array<VertexAttribute>
)

Public properties

Long
Array<VertexAttribute>

An array of attributes contained within this vertex buffer.

Int

Public constructors

VertexBufferLayout

Added in 1.0.0-alpha01
VertexBufferLayout(
    arrayStride: Long,
    stepMode: Int = VertexStepMode.Undefined,
    attributes: Array<VertexAttribute> = arrayOf()
)

Public properties

arrayStride

Added in 1.0.0-alpha01
var arrayStrideLong

attributes

Added in 1.0.0-alpha01
var attributesArray<VertexAttribute>

An array of attributes contained within this vertex buffer.

stepMode

Added in 1.0.0-alpha01
var stepModeInt