TextureRegion function ( ) { final int loc0 = Gdx . graphics . getBackBufferWidth ( ) ; final int loc1 = Gdx . graphics . getBackBufferHeight ( ) ; return getFrameBufferTexture ( 0 , 0 , loc0 , loc1 ) ; }
returns the default framebuffer contents as a textureregion with a width and height equal to the current screensize . the base texture always has mathutils #nextpoweroftwo dimensions and rgba8888 format . it can be accessed via textureregion #gettexture . the texture is not managed and has to be reloaded manually on a context loss . the returned textureregion is flipped along the y axis by default . concode_field_sep PlaceHolder placeHolder concode_field_sep Pixmap getFrameBufferPixmap concode_elem_sep byte[] getFrameBufferPixels concode_elem_sep byte[] getFrameBufferPixels concode_elem_sep void putPixelsBack concode_elem_sep void putPixelsBack