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.bindTexture(TextureTarget target,
WebGLTexture texture)
Bind a named texture to a texturing target.
|
void |
WebGLRenderingContext.compressedTexImage2D(TextureTarget target,
int level,
int format,
int width,
int height,
int border,
ArrayBufferView pixels)
Specify a two-dimensional compressed texture.
|
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.copyTexSubImage2D(TextureTarget target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height)
If an attempt is made to call this function with no WebGLTexture bound,
an INVALID_OPERATION error is raised.
|
void |
WebGLRenderingContext.framebufferTexture2D(FramebufferSlot attachment,
TextureTarget textarget,
int slot,
WebGLTexture texture,
int level) |
void |
WebGLRenderingContext.framebufferTexture2D(FramebufferSlot attachment,
TextureTarget textarget,
WebGLTexture texture,
int level)
Attach a texture image to a framebuffer object.
|
void |
WebGLRenderingContext.generateMipmap(TextureTarget target)
If an attempt is made to call this function with no WebGLTexture bound,
an INVALID_OPERATION error is raised.
|
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.
|
void |
WebGLRenderingContext.texParameterf(TextureTarget target,
TextureParameterName pname,
double param)
If an attempt is made to call this function with no WebGLTexture bound,
an INVALID_OPERATION error is raised.
|
void |
WebGLRenderingContext.texParameteri(TextureTarget target,
TextureParameterName pname,
int param)
If an attempt is made to call this function with no WebGLTexture bound,
an INVALID_OPERATION error is raised.
|
Modifier and Type | Method and Description |
---|---|
static TextureTarget |
TextureTarget.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureTarget[] |
TextureTarget.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Texture.setTextureParameters(WebGLRenderingContext gl,
int maxAnisotropy,
TextureTarget textureType,
boolean isImagePowerOfTwo) |
void |
Texture.setTextureParameters(WebGLRenderingContext gl,
TextureTarget textureType,
boolean isImagePowerOfTwo) |
void |
RenderTargetTexture.setupFrameBuffer(WebGLRenderingContext gl,
WebGLFramebuffer framebuffer,
TextureTarget textureTarget) |
void |
RenderTargetCubeTexture.setupFrameBuffer(WebGLRenderingContext gl,
WebGLFramebuffer framebuffer,
TextureTarget textureTarget,
int slot) |