GLESTextureInput
class NatML.Recorders.Inputs.GLESTextureInput : TextureInput
The GLESTextureInput
class provides a simple primitive for recording video frames from Texture
objects on Android OpenGL ES3. It works by performing asynchronous pixel buffer readbacks from the GPU using Android's native graphics infrastructure. As such, it has much better recording performance:
This texture input is can only be used on Android when rendering with OpenGL ES3.
Creating the Texture Input
The texture input is always created with a recorder
which receives any frames committed by the input.
Inspecting the Frame Size
Refer to the Inspecting the Frame Size section of the TextureInput
class for more information.
Committing Video Frames
Refer to the Committing Video Frames section of the TextureInput
class for more information.
Disposing the Recorder Input
Refer to the Disposing the Recorder Input section of the TextureInput
class for more information.
Last updated