BufferInfo


class BufferInfo


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

Summary

Public properties

Int

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

Int

Height of the buffer that is being rendered into.

Int

Width of the buffer that is being rendered into.

Public properties

frameBufferId

Added in 1.0.2
val frameBufferIdInt

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.

height

Added in 1.0.2
val heightInt

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.

width

Added in 1.0.2
val widthInt

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.