Package | Description |
---|---|
thothbot.parallax.core.client.gl2 |
Here are located all WebGL rendering context related code.
|
thothbot.parallax.core.client.textures |
Here are textures which can be used by Materials.
|
Modifier and Type | Method and Description |
---|---|
WebGLTexture |
WebGLRenderingContext.createTexture()
Create a WebGLTexture object and initialize it with a texture object name
as if by calling glGenTextures.
|
Modifier and Type | Method and Description |
---|---|
void |
WebGLRenderingContext.bindTexture(TextureTarget target,
WebGLTexture texture)
Bind a named texture to a texturing target.
|
void |
WebGLRenderingContext.deleteTexture(WebGLTexture texture)
Delete the texture object contained in the passed WebGLTexture as if by
calling glDeleteTextures.
|
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.
|
boolean |
WebGLRenderingContext.isTexture(WebGLTexture texture)
Return true if the passed RendererObject is a WebGLTexture and false
otherwise.
|
Modifier and Type | Method and Description |
---|---|
WebGLTexture |
Texture.getWebGlTexture() |
Modifier and Type | Method and Description |
---|---|
void |
Texture.setWebGlTexture(WebGLTexture webglTexture) |