File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
jme3-core/src/main/java/com/jme3/shader/bufferobject Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ public static enum NatureHint {
106
106
107
107
protected ByteBuffer data = null ;
108
108
protected ArrayList <BufferRegion > regions = new ArrayList <BufferRegion >();
109
+ private String name ;
109
110
110
111
public BufferObject () {
111
112
super ();
@@ -373,4 +374,22 @@ public String toString() {
373
374
return sb .toString ();
374
375
}
375
376
377
+ /**
378
+ * Get name of the buffer object
379
+ *
380
+ * @return the name of this buffer object, can be null
381
+ */
382
+ public String getName () {
383
+ return name ;
384
+ }
385
+
386
+ /**
387
+ * Set name for debugging purposes
388
+ *
389
+ * @param name
390
+ * the name of this buffer object
391
+ */
392
+ public void setName (String name ) {
393
+ this .name = name ;
394
+ }
376
395
}
You can’t perform that action at this time.
0 commit comments