| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if data uses VBO and action was performed, otherwise falsecurrent GL object gl, boolean true if VBO shall be bound and data written,
otherwise clear VBO binding. bind)if |
| public void | |
| public void | enableBuffer(GL gl, boolean enable)
Enables the buffer if |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public void | |
| public void |
| bindBuffer | back to summary |
|---|---|
| public boolean bindBuffer(GL gl, boolean bind) if
If
This method is exposed to allow data VBO arrays, i.e.
| |
| destroy | back to summary |
|---|---|
| public void destroy(GL gl) Redeclares com.
| |
| enableBuffer | back to summary |
|---|---|
| public void enableBuffer(GL gl, boolean enable) Enables the buffer if
Disables the buffer if The action will only be executed, if the internal enable state differs, or 'setEnableAlways' was called with 'true'. It is up to the user to enable/disable the array properly, ie in case of multiple data sets for the same vertex attribute (VA). Meaning in such case usage of one set while expecting another one to be used for the same VA implies decorating each usage with enable/disable.
| |
| enabled | back to summary |
|---|---|
| public boolean enabled() | |
| isVBOWritten | back to summary |
|---|---|
| public boolean isVBOWritten() Is the buffer written to the VBO ? | |
| padding | back to summary |
|---|---|
| public void padding(int doneInByteSize) | |
| put | back to summary |
|---|---|
| public void put(Buffer v) | |
| putb | back to summary |
|---|---|
| public void putb(byte v) | |
| putf | back to summary |
|---|---|
| public void putf(float v) | |
| puti | back to summary |
|---|---|
| public void puti(int v) | |
| puts | back to summary |
|---|---|
| public void puts(short v) | |
| putx | back to summary |
|---|---|
| public void putx(int v) | |
| reset | back to summary |
|---|---|
| public void reset(GL gl) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| rewind | back to summary |
|---|---|
| public void rewind() | |
| seal | back to summary |
|---|---|
| public void seal(GL gl, boolean seal) Convenience method calling
| |
| seal | back to summary |
|---|---|
| public void seal(boolean seal) If seal is true, it disables write operations to the buffer. Calls flip, ie limit:=position and position:=0. If seal is false, it enable write operations continuing at the buffer position, where you left off at seal(true), ie position:=limit and limit:=capacity.
| |
| sealed | back to summary |
|---|---|
| public boolean sealed() | |
| setEnableAlways | back to summary |
|---|---|
| public void setEnableAlways(boolean always) Affects the behavior of 'enableBuffer'. The default is 'false' This is useful when you mix up GLArrayData usage with conventional GL array calls or in case of a buggy GL VBO implementation.
| |
| setVBOWritten | back to summary |
|---|---|
| public void setVBOWritten(boolean written) Marks the buffer written to the VBO | |