List of usage examples for org.lwjgl.opengl GL20 glGetAttachedShaders
public static void glGetAttachedShaders(@NativeType("GLuint") int program, @Nullable @NativeType("GLsizei *") int[] count, @NativeType("GLuint *") int[] shaders)
From source file:com.badlogic.gdx.backends.jglfw.JglfwGL20.java
License:Apache License
public void glGetAttachedShaders(int program, int maxcount, Buffer count, IntBuffer shaders) { GL20.glGetAttachedShaders(program, (IntBuffer) count, shaders); }
From source file:com.google.gapid.glviewer.gl.Shader.java
License:Apache License
private static int[] getAttachedShaders(int program) { int numShaders = GL20.glGetProgrami(program, GL20.GL_ATTACHED_SHADERS); if (numShaders > 0) { int[] shaders = new int[numShaders], count = new int[1]; GL20.glGetAttachedShaders(program, count, shaders); return shaders; }/* ww w . ja v a 2 s . com*/ return new int[0]; }
From source file:com.google.gapid.glviewer.gl.Util.java
License:Apache License
public static int[] getAttachedShaders(int program) { int numShaders = getProgramiv(program, GL20.GL_ATTACHED_SHADERS); if (numShaders > 0) { int[] shaders = new int[numShaders], count = new int[1]; GL20.glGetAttachedShaders(program, count, shaders); return shaders; }//from www . j ava 2s. com return new int[0]; }
From source file:io.root.gfx.glutils.GL.java
License:Apache License
public static void glGetAttachedShaders(int program, int maxcount, Buffer count, IntBuffer shaders) { GL20.glGetAttachedShaders(program, (IntBuffer) count, shaders); }
From source file:org.oscim.gdx.LwjglGL20.java
License:Apache License
public void getAttachedShaders(int program, int maxcount, Buffer count, IntBuffer shaders) { GL20.glGetAttachedShaders(program, (IntBuffer) count, shaders); }
From source file:playn.java.JavaGL20.java
License:Apache License
@Override public void glGetAttachedShaders(int program, int maxcount, IntBuffer count, IntBuffer shaders) { GL20.glGetAttachedShaders(program, count, shaders); }
From source file:processing.lwjgl.PLWJGL.java
License:Open Source License
public void getAttachedShaders(int program, int maxCount, IntBuffer count, IntBuffer shaders) { GL20.glGetAttachedShaders(program, count, shaders); }
From source file:processing.opengl.PLWJGL.java
License:Open Source License
@Override public void getAttachedShaders(int program, int maxCount, IntBuffer count, IntBuffer shaders) { GL20.glGetAttachedShaders(program, count, shaders); }
From source file:tk.ivybits.engine.gl.GL.java
License:Open Source License
public static void glGetAttachedShaders(int a, IntBuffer b, IntBuffer c) { GL20.glGetAttachedShaders(a, b, c); }