| Package | Description |
|---|---|
| com.google.gwt.webgl.client |
| Modifier and Type | Method and Description |
|---|---|
static WebGLRenderingContext |
WebGLRenderingContext.getContext(com.google.gwt.dom.client.CanvasElement canvas)
Returns a WebGL context for the given canvas element.
|
static WebGLRenderingContext |
WebGLRenderingContext.getContext(com.google.gwt.dom.client.CanvasElement canvas,
WebGLContextAttributes attributes)
Returns a WebGL context for the given canvas element.
|
| Modifier and Type | Method and Description |
|---|---|
static WebGLProgram |
WebGLUtil.createShaderProgram(WebGLRenderingContext gl,
java.lang.String vertexSource,
java.lang.String fragmentSource) |
Copyright © 2018. All Rights Reserved.