Package com.google.gwt.webgl.client

Examples of com.google.gwt.webgl.client.WebGLUniformLocation


    throw new GdxRuntimeException("not implemented");
  }

  @Override
  public int glGetUniformLocation (int program, String name) {
    WebGLUniformLocation location = gl.getUniformLocation(programs.get(program), name);
    return allocateUniformLocationId(program, location);
  }
View Full Code Here


    gl.texParameterf(target, pname, params.get());
  }

  @Override
  public void glUniform1f (int location, float x) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform1f(loc, x);
  }
View Full Code Here

    gl.uniform1f(loc, x);
  }

  @Override
  public void glUniform1fv (int location, int count, FloatBuffer v) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform1fv(loc, copy(v));
  }
View Full Code Here

    gl.uniform1fv(loc, copy(v));
  }

  @Override
  public void glUniform1i (int location, int x) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform1i(loc, x);
  }
View Full Code Here

    gl.uniform1i(loc, x);
  }

  @Override
  public void glUniform1iv (int location, int count, IntBuffer v) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform1iv(loc, copy(v));
  }
View Full Code Here

    gl.uniform1iv(loc, copy(v));
  }

  @Override
  public void glUniform2f (int location, float x, float y) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform2f(loc, x, y);
  }
View Full Code Here

    gl.uniform2f(loc, x, y);
  }

  @Override
  public void glUniform2fv (int location, int count, FloatBuffer v) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform2fv(loc, copy(v));
  }
View Full Code Here

    gl.uniform2fv(loc, copy(v));
  }

  @Override
  public void glUniform2i (int location, int x, int y) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform2i(loc, x, y);
  }
View Full Code Here

    gl.uniform2i(loc, x, y);
  }

  @Override
  public void glUniform2iv (int location, int count, IntBuffer v) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform2iv(loc, copy(v));
  }
View Full Code Here

    gl.uniform2iv(loc, copy(v));
  }

  @Override
  public void glUniform3f (int location, float x, float y, float z) {
    WebGLUniformLocation loc = getUniformLocation(location);
    gl.uniform3f(loc, x, y, z);
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.webgl.client.WebGLUniformLocation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.