ru.dgis.sdk.androidauto.GLESRenderer | Android SDK | Urbi Documentation
Android SDK

GLESRenderer

Creates input surfaces and renders their content to the provided output surface. The input surfaces are created with the same size as the output surface. When the input surfaces are ready, the provided callback is triggered with the corresponding event.

GLESRenderer(
	numberOfInputSurfaces: Int,
	outputSurface: Surface,
	outputSurfaceSize: Size,
	rendererCallback: Callback,
	rendererCallbackHandler: Handler
)

Creates input surfaces and renders their content to the provided output surface. The input surfaces are created with the same size as the output surface. When the input surfaces are ready, the provided callback is triggered with the corresponding event.

Parameters
numberOfInputSurfaces
Int

The number of input surfaces to create for rendering.

outputSurface
Surface

The Surface object representing the output surface where the final rendered content will be displayed.

outputSurfaceSize
Size

The size of the output surface, which also determines the size of all input surfaces.

rendererCallback
rendererCallbackHandler
Handler

The Handler on which the renderer callback will be invoked.

Returns
Methods