GPUVertexAttribute


class GPUVertexAttribute


Describes a single vertex attribute.

Summary

Public constructors

GPUVertexAttribute(format: Int, offset: Long, shaderLocation: Int)

Public properties

Int

The format of the vertex attribute data.

Long

The offset in bytes from the beginning of the vertex.

Int

Public constructors

GPUVertexAttribute

Added in 1.0.0-alpha04
GPUVertexAttribute(format: Int, offset: Long, shaderLocation: Int)

Public properties

format

Added in 1.0.0-alpha04
var formatInt

The format of the vertex attribute data.

offset

Added in 1.0.0-alpha04
var offsetLong

The offset in bytes from the beginning of the vertex.

shaderLocation

Added in 1.0.0-alpha04
var shaderLocationInt