public final class BufferInfo


Class that represents information about the current buffer that is target for rendered output

Summary

Public methods

final int

Identifier of the destination frame buffer object that is being rendered into.

final int

Height of the buffer that is being rendered into.

final int

Width of the buffer that is being rendered into.

Public methods

getFrameBufferId

Added in 1.0.0-rc01
public final int getFrameBufferId()

Identifier of the destination frame buffer object that is being rendered into. This is useful for re-binding to the original target after rendering to intermediate frame buffer objects.

getHeight

Added in 1.0.0-rc01
public final int getHeight()

Height of the buffer that is being rendered into. This can be different than the corresponding dimensions specified as pre-rotation can occasionally swap width and height parameters in order to avoid GPU composition to rotate content. This should be used as input to GLES20.glViewport.

getWidth

Added in 1.0.0-rc01
public final int getWidth()

Width of the buffer that is being rendered into. This can be different than the corresponding dimensions specified as pre-rotation can occasionally swap width and height parameters in order to avoid GPU composition to rotate content. This should be used as input to GLES20.glViewport.