Package com.banuba.sdk.render_target
Interface IRenderedFrameProvider
- All Known Subinterfaces:
IRenderTarget
,IRenderTargetPresentable
- All Known Implementing Classes:
OpenGLRenderTarget
public interface IRenderedFrameProvider
Responsible for getting the current frame as an array of pixels
-
Method Summary
Modifier and TypeMethodDescriptioncom.banuba.sdk.types.PixelBuffer
Get the rendered frame as an array of pixels
-
Method Details
-
readPixels
com.banuba.sdk.types.PixelBuffer readPixels()Get the rendered frame as an array of pixels- Returns:
- pixel buffer, stores dimensions, pixel type and array of pixels
-