public class ShaderBufferBlock extends ShaderVariable
| Modifier and Type | Field and Description |
|---|---|
protected BufferObject |
bufferObject
Current used buffer object.
|
LOC_NOT_DEFINED, LOC_UNKNOWN, location, name, updateNeeded| Constructor and Description |
|---|
ShaderBufferBlock() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearUpdateNeeded()
Clear the flag
isUpdateNeeded(). |
BufferObject |
getBufferObject()
Get the current storage data.
|
boolean |
isUpdateNeeded()
Return true if need to update this storage block.
|
void |
reset()
Reset this storage block.
|
void |
setBufferObject(BufferObject bufferObject)
Set the new buffer object.
|
getLocation, getName, setLocation, setNameprotected BufferObject bufferObject
public void setBufferObject(BufferObject bufferObject)
bufferObject - the new buffer object.public boolean isUpdateNeeded()
public void clearUpdateNeeded()
isUpdateNeeded().public void reset()
public BufferObject getBufferObject()