@@ -84,6 +84,11 @@
Read-only. Always `true`.
</p>
+ <h3>[property:String name]</h3>
+ <p>
+ Optional name for this attribute instance. Default is an empty string.
+ </p>
+
<h2>Methods</h2>
<h3>[method:this setBuffer]( buffer ) </h3>
@@ -4,6 +4,8 @@ class GLBufferAttribute {
this.isGLBufferAttribute = true;
+ this.name = '';
this.buffer = buffer;
this.type = type;
this.itemSize = itemSize;