Example usage for com.google.gwt.webgl.client WebGLRenderingContext UNPACK_PREMULTIPLY_ALPHA_WEBGL

List of usage examples for com.google.gwt.webgl.client WebGLRenderingContext UNPACK_PREMULTIPLY_ALPHA_WEBGL

Introduction

In this page you can find the example usage for com.google.gwt.webgl.client WebGLRenderingContext UNPACK_PREMULTIPLY_ALPHA_WEBGL.

Prototype

int UNPACK_PREMULTIPLY_ALPHA_WEBGL

To view the source code for com.google.gwt.webgl.client WebGLRenderingContext UNPACK_PREMULTIPLY_ALPHA_WEBGL.

Click Source Link

Usage

From source file:com.badlogic.gdx.backends.gwt.GwtGL20.java

License:Apache License

protected GwtGL20(WebGLRenderingContext gl) {
    ;
    this.gl = gl;
    this.gl.pixelStorei(WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 0);
}

From source file:org.oscim.gdx.client.GdxGL.java

License:Apache License

public GdxGL(WebGLRenderingContext gl) {
    super(gl);
    gl.pixelStorei(WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 1);
    this.gl = gl;
}

From source file:org.oscim.gdx.client.GwtGLAdapter.java

License:Open Source License

public GwtGLAdapter(WebGLRenderingContext gl) {
    super(gl);
    gl.pixelStorei(WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 1);
    this.gl = gl;
}

From source file:org.parallax3d.parallax.platforms.gwt.GwtGL20.java

License:Open Source License

protected GwtGL20(WebGLRenderingContext gl) {
    this.gl = gl;
    this.gl.pixelStorei(WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 0);
}