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.
|
thothbot.parallax.core.client.textures |
Here are textures which can be used by Materials.
|
Modifier and Type | Method and Description |
---|---|
void |
WebGLRenderingContext.copyTexImage2D(TextureTarget target,
int level,
PixelFormat internalformat,
int x,
int y,
int width,
int height,
int border)
If an attempt is made to call this function with no WebGLTexture bound,
an INVALID_OPERATION error is raised.
|
void |
WebGLRenderingContext.readPixels(int x,
int y,
int width,
int height,
PixelFormat format,
PixelType type,
ArrayBufferView pixels)
Fills pixels with the pixel data in the specified rectangle of the frame
buffer.
|
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int slot,
int level,
int width,
int height,
int border,
PixelFormat format,
PixelType type,
ArrayBufferView pixels)
Specify a two-dimensional texture image.
|
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int level,
int width,
int height,
int border,
PixelFormat format,
PixelType type,
ArrayBufferView pixels)
Specify a two-dimensional texture image.
|
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int slot,
int level,
PixelFormat format,
PixelType type,
com.google.gwt.dom.client.CanvasElement pixels) |
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int slot,
int level,
PixelFormat format,
PixelType type,
com.google.gwt.dom.client.ImageElement pixels) |
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int level,
PixelFormat format,
PixelType type,
com.google.gwt.dom.client.CanvasElement pixels)
Uploads the given element or image data to the currently bound WebGLTexture.
|
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int level,
PixelFormat format,
PixelType type,
com.google.gwt.canvas.dom.client.ImageData pixels)
Uploads the given element or image data to the currently bound WebGLTexture.
|
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int level,
PixelFormat format,
PixelType type,
com.google.gwt.dom.client.ImageElement pixels)
Uploads the given element or image data to the currently bound WebGLTexture.
|
void |
WebGLRenderingContext.texImage2D(TextureTarget target,
int level,
PixelFormat format,
PixelType type,
com.google.gwt.dom.client.VideoElement pixels)
Uploads the given element or image data to the currently bound WebGLTexture.
|
Modifier and Type | Method and Description |
---|---|
static PixelFormat |
PixelFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormat[] |
PixelFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
PixelFormat |
Texture.getFormat()
Gets the
PixelFormat value. |
Modifier and Type | Method and Description |
---|---|
void |
Texture.setFormat(PixelFormat format)
Sets the
PixelFormat value. |
Constructor and Description |
---|
RenderTargetTexture(int width,
int height,
TextureWrapMode wrapS,
TextureWrapMode wrapT,
TextureMagFilter magFilter,
TextureMinFilter minFilter,
PixelFormat format,
PixelType type) |
Texture(com.google.gwt.dom.client.Element image,
Texture.MAPPING_MODE mapping,
TextureWrapMode wrapS,
TextureWrapMode wrapT,
TextureMagFilter magFilter,
TextureMinFilter minFilter,
PixelFormat format,
PixelType type,
int anisotropy)
Constructor will create a texture instance.
|