org.rajawali3d.renderer / ISurfaceRenderer / onRenderSurfaceSizeChanged

onRenderSurfaceSizeChanged

abstract fun onRenderSurfaceSizeChanged(gl: GL10!, width: Int, height: Int): Unit

This corresponds to TextureView.SurfaceTextureListener#onSurfaceTextureSizeChanged(SurfaceTexture, int, int) and GLSurfaceView.Renderer#onSurfaceChanged(GL10, int, int).

Parameters

gl - GL10!: GL10 for rendering.

width - Int: width The surface width in pixels.

height - Int: height The surface height in pixels.

abstract fun onRenderSurfaceSizeChanged(gl: GL10!, width: Int, height: Int): Unit

This corresponds to TextureView.SurfaceTextureListener#onSurfaceTextureSizeChanged(SurfaceTexture, int, int) and GLSurfaceView.Renderer#onSurfaceChanged(GL10, int, int).

Parameters

gl - GL10!: GL10 for rendering.

width - Int: width The surface width in pixels.

height - Int: height The surface height in pixels.