Class GLSLUniformBlockObject
Inheritance
java.lang.Object
GLSLUniformBlockObject
Syntax
public class GLSLUniformBlockObject
Constructors
GLSLUniformBlockObject(GLSLUniformBlockObjectData data)
Declaration
public GLSLUniformBlockObject(GLSLUniformBlockObjectData data)
Parameters
Type | Name | Description |
---|---|---|
GLSLUniformBlockObjectData | data |
Methods
bind()
Declaration
public void bind()
create(int size)
Declaration
public int create(int size)
Parameters
Type | Name | Description |
---|---|---|
int | size |
Returns
Type | Description |
---|---|
int |
getBinding()
Declaration
public int getBinding()
Returns
Type | Description |
---|---|
int |
getData()
Declaration
public GLSLUniformBlockObjectData getData()
Returns
Type | Description |
---|---|
GLSLUniformBlockObjectData |
getId()
Declaration
public int getId()
Returns
Type | Description |
---|---|
int |
getSize()
Declaration
public int getSize()
Returns
Type | Description |
---|---|
int |
setData(GLSLUniformBlockObjectData data)
Declaration
public void setData(GLSLUniformBlockObjectData data)
Parameters
Type | Name | Description |
---|---|---|
GLSLUniformBlockObjectData | data |
setId(int id)
Declaration
public void setId(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id |
unbind()
Declaration
public void unbind()