Package | Description |
---|---|
thothbot.parallax.core.client.gl2 |
Here are located all WebGL rendering context related code.
|
thothbot.parallax.core.client.gl2.arrays |
Here are different typed arrays.
|
thothbot.parallax.core.shared.core |
Contains all core Objects such as Vectors, Matrices and so on which are used overall on the project.
|
Modifier and Type | Method and Description |
---|---|
<T extends TypeArray> |
WebGLRenderingContext.getUniform(WebGLProgram program,
WebGLUniformLocation location)
Return the uniform value at the passed location in the passed program.
|
Modifier and Type | Method and Description |
---|---|
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,
TypeArray data)
For the WebGLBuffer object bound to the passed target write the passed
data starting at the passed offset.
|
void |
WebGLRenderingContext.texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
TypeArray data) |
Modifier and Type | Class and Description |
---|---|
class |
Float32Array
The typed array that holds float (32-bit IEEE floating point) as its element.
|
class |
Float64Array
The typed array that holds double (64-bit IEEE floating point) as its element.
|
class |
Int16Array
The typed array that holds short (16-bit 2's complement signed integer) as its element.
|
class |
Int32Array
The typed array that holds int (32-bit 2's complement signed integer) as its element.
|
class |
Int8Array
The typed array that holds signed char (8-bit 2's complement signed integer) as its element.
|
class |
Uint16Array
The typed array that holds unsigned short (16-bit unsigned integer) as its element.
|
class |
Uint32Array
The typed array that holds unsigned int (32-bit unsigned integer) as its element.
|
class |
Uint8Array
The typed array that holds unsigned char (8-bit unsigned integer) as its element.
|
Modifier and Type | Method and Description |
---|---|
static Uint8Array |
Uint8Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
static Uint32Array |
Uint32Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
static Uint16Array |
Uint16Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
static Int8Array |
Int8Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
static Int32Array |
Int32Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
static Int16Array |
Int16Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
static Float64Array |
Float64Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
static Float32Array |
Float32Array.create(TypeArray array)
Create a new
ArrayBuffer with enough bytes to hold array.length
elements of this typed array, then creates a typed array view referring
to the full buffer. |
void |
TypeArray.set(TypeArray array)
Set multiple values, reading input values from the array.
|
void |
TypeArray.set(TypeArray array,
int offset)
Set multiple values, reading input values from the array.
|
Modifier and Type | Method and Description |
---|---|
TypeArray |
BufferAttribute.getArray() |
Constructor and Description |
---|
BufferAttribute(TypeArray array,
int itemSize) |