Code example for IntBuffer

Methods: get

	/// Texture public methods 
	/* Returns the id for this texture in OGL ES. Must be called after the texture has been loaded into the driver memory */ 
	public int getTextureId(){ 
		return _textureIds.get(0);
	public void bindTexture(int unit){
		//	onDriverLoad(null); // WARNING!!!!!!!!!!!! null 
		if(null == _bmps || null == _textureIds){
			_driverDataDirty = true;
		GLES20.glActiveTexture(GLES20.GL_TEXTURE0 + unit);
		GLES20.glBindTexture(_target, _textureIds.get(0));
Experience pair programming with AI  Get Codota for Java