ByteBufferGlEffect.Image
Artifact: androidx.media3:media3-effect
class ByteBufferGlEffect.Image
A class that represents image data is backed by a ByteBuffer.
Summary
Public properties |
|
|---|---|
Int |
|
ByteBuffer! |
|
Int |
Public functions
copyToBitmap
fun copyToBitmap(): Bitmap!
Returns a Bitmap that contains a copy of the pixel buffer.
The returned Bitmap has config ARGB_8888.
This method copies the pixel data and is less efficient than accessing the pixel buffer directly.