Package | Description |
---|---|
thothbot.parallax.core.client.gl2 |
Here are located all WebGL rendering context related code.
|
thothbot.parallax.core.client.gl2.enums |
Contains wrappers WebGL enums.
|
Modifier and Type | Method and Description |
---|---|
void |
WebGLRenderingContext.bindBuffer(BufferTarget target,
WebGLBuffer buffer)
Bind a named buffer object.
|
void |
WebGLRenderingContext.bufferData(BufferTarget target,
ArrayBuffer data,
BufferUsage usage) |
void |
WebGLRenderingContext.bufferData(BufferTarget target,
int size,
BufferUsage usage)
Set the size of the currently bound WebGLBuffer object for the passed
target.
|
void |
WebGLRenderingContext.bufferData(BufferTarget target,
TypeArray data,
BufferUsage usage)
Set the size of the currently bound WebGLBuffer object for the passed
target to the size of the passed data, then write the contents of data to
the buffer object.
|
void |
WebGLRenderingContext.bufferSubData(BufferTarget target,
int offset,
ArrayBuffer data) |
void |
WebGLRenderingContext.bufferSubData(BufferTarget target,
int offset,
TypeArray data)
For the WebGLBuffer object bound to the passed target write the passed
data starting at the passed offset.
|
int |
WebGLRenderingContext.getBufferParameteri(BufferTarget target,
BufferParameterName pname)
Return parameters of a buffer object
|
Modifier and Type | Method and Description |
---|---|
static BufferTarget |
BufferTarget.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BufferTarget[] |
BufferTarget.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|