Example usage for Java android.graphics SurfaceTexture fields, constructors, methods, implement or subclass
The text is from its open source code.
SurfaceTexture(int texName) Construct a new SurfaceTexture to stream images to a given OpenGL texture. | |
SurfaceTexture(boolean singleBufferMode) Construct a new SurfaceTexture to stream images to a given OpenGL texture. |
void | setDefaultBufferSize(int width, int height) Set the default size of the image buffers. |
void | setOnFrameAvailableListener(@Nullable OnFrameAvailableListener listener) Register a callback to be invoked when a new image frame becomes available to the SurfaceTexture. |