get opengl Frame buffer Binding - Android android.opengl

Android examples for android.opengl:OpenGL Buffer

Description

get opengl Frame buffer Binding

Demo Code

/*//from  ww  w .  ja v  a  2s.  co m
 * Created by Zahari Pastarmadjiev.
 * Copyright (c) 2013 Wacom. All rights reserved.
 */
//package com.java2s;

import android.opengl.GLES20;

public class Main {
    public static int getFramebufferBinding() {
        //   glGetIntegerv(GL_FRAMEBUFFER_BINDING, &defaultFBO);
        int params[] = new int[1];
        GLES20.glGetIntegerv(GLES20.GL_FRAMEBUFFER_BINDING, params, 0);
        //return params[0];
        return 0;
    }
}

Related Tutorials