예제 #1
0
 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);
 }