| Package | Description |
|---|---|
| org.fujion.canvas.webgl |
| Modifier and Type | Method and Description |
|---|---|
ArrayBufferView |
RenderingContextWebGL.createArrayBufferView(PixelDataType type,
int size)
Creates an empty array buffer view of the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RenderingContextWebGL.readPixels(int x,
int y,
int width,
int height,
PixelFormat format,
ArrayBufferView pixels)
Reads a block of pixels from a specified rectangle of the current color framebuffer into an
ArrayBufferView object.
|
void |
RenderingContextWebGL.readPixels(int x,
int y,
int width,
int height,
PixelFormat format,
ArrayBufferView pixels,
int offset)
Reads a block of pixels from a specified rectangle of the current color framebuffer into an
ArrayBufferView object.
|
void |
RenderingContextWebGL.texImage2D(TextureType2 target,
int level,
TextureBufferInternalFormat internalformat,
int width,
int height,
TextureBufferInternalFormat format,
ArrayBufferView pixels)
Specifies a two-dimensional texture image.
|
void |
RenderingContextWebGL.texSubImage2D(TextureType2 target,
int level,
int xoffset,
int yoffset,
int width,
int height,
TextureFormat format,
ArrayBufferView pixels)
Specifies a sub-rectangle of the current texture.
|
Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.