Skip to content

Commit ace6861

Browse files
committed
Add missing parameter to attribute opts
1 parent 35647e9 commit ace6861

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

API.md

+1
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ Each attribute can have any of the following optional properties,
755755
| `normalized` | Whether the pointer is normalized | `false` |
756756
| `size` | The size of the vertex attribute | Inferred from shader |
757757
| `divisor` | Sets `gl.vertexAttribDivisorANGLE` | `0` \* |
758+
| `type` | Data type (see [buffer constructor](#buffer-constructor) for options) | Inferred from buffer |
758759

759760
**Notes**
760761

0 commit comments

Comments
 (0)