# BufferInfo

Artifact: [androidx.graphics:graphics-core](https://developer.android.com/jetpack/androidx/releases/graphics) [View Source](https://cs.android.com/search?q=file:androidx/graphics/lowlatency/BufferInfo.kt+class:androidx.graphics.lowlatency.BufferInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/graphics#1.0.0)

*** ** * ** ***


```
class BufferInfo
```

<br />

*** ** * ** ***

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

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/graphics/lowlatency/BufferInfo#frameBufferId()` Identifier of the destination frame buffer object that is being rendered into. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/graphics/lowlatency/BufferInfo#height()` Height of the buffer that is being rendered into. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/graphics/lowlatency/BufferInfo#width()` Width of the buffer that is being rendered into. |

## Public properties

### frameBufferId

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/graphics#1.0.0)

```
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

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/graphics#1.0.0)

```
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 `https://developer.android.com/reference/android/opengl/GLES20.html#glViewport(int, int, int, int)`.

### width

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/graphics#1.0.0)

```
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 `https://developer.android.com/reference/android/opengl/GLES20.html#glViewport(int, int, int, int)`.