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-alpha05
GPUVertexAttribute(format: Int, offset: Long, shaderLocation: Int)
Public properties
offset
Added in 1.0.0-alpha05
var offset: Long
The offset in bytes from the beginning of the vertex.