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
val frameBufferId: Int
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
val height: Int
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
val width: Int
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.