public static FBO createFBO(GL gl, int width, int height, boolean useDepthBuffer) { return createFBO( gl, TextureUtils.createEmptyTexture2D(gl, width, height, false), useDepthBuffer ? createFBODepthBuffer(gl, width, height) : TextureUtils.ILLEGAL_ID); }
public void paintBackground(Graphics g) { TextureUtils.fillComponent(g, this, TextureUtils.WINDOW_TEXTURE_TYPE); }