Examples of glDeleteObjectARB()


Examples of javax.media.opengl.GL2.glDeleteObjectARB()

    @Override
    ShaderError destroyGLSLShader(Context ctx, ShaderId shaderId) {
        if (VERBOSE) System.err.println("JoglPipeline.destroyGLSLShader()");

    GL2 gl = context(ctx).getGL().getGL2();
        gl.glDeleteObjectARB(unbox(shaderId));
        return null;
    }
    @Override
    ShaderError compileGLSLShader(Context ctx, ShaderId shaderId, String program) {
        if (VERBOSE) System.err.println("JoglPipeline.compileGLSLShader()");
View Full Code Here

Examples of javax.media.opengl.GL2.glDeleteObjectARB()

    }
    @Override
    ShaderError destroyGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId) {
        if (VERBOSE) System.err.println("JoglPipeline.destroyGLSLShaderProgram()");
    GL2 gl = context(ctx).getGL().getGL2();
    gl.glDeleteObjectARB(unbox(shaderProgramId));
        return null;
    }
    @Override
    ShaderError linkGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId,
            ShaderId[] shaderIds) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.