List of usage examples for com.google.gwt.webgl.client WebGLActiveInfo getSize
public final native int getSize() ;
From source file:com.badlogic.gdx.backends.gwt.GwtGL20.java
License:Apache License
@Override public String glGetActiveAttrib(int program, int index, IntBuffer size, Buffer type) { WebGLActiveInfo activeAttrib = gl.getActiveAttrib(programs.get(program), index); size.put(activeAttrib.getSize()); ((IntBuffer) type).put(activeAttrib.getType()); return activeAttrib.getName(); }
From source file:com.badlogic.gdx.backends.gwt.GwtGL20.java
License:Apache License
@Override public String glGetActiveUniform(int program, int index, IntBuffer size, Buffer type) { WebGLActiveInfo activeUniform = gl.getActiveUniform(programs.get(program), index); size.put(activeUniform.getSize()); ((IntBuffer) type).put(activeUniform.getType()); return activeUniform.getName(); }