org.rajawali3d.view / ISurface / setSurfaceRenderer

setSurfaceRenderer

abstract fun setSurfaceRenderer(renderer: ISurfaceRenderer!): Unit

Called to set the ISurfaceRenderer which will render on this surface.

Parameters

renderer - ISurfaceRenderer!: ISurfaceRenderer instance.

Exceptions

IllegalStateException - Thrown if a renderer has already been set.

abstract fun setSurfaceRenderer(renderer: ISurfaceRenderer!): Unit

Called to set the ISurfaceRenderer which will render on this surface.

Parameters

renderer - ISurfaceRenderer!: ISurfaceRenderer instance.

Exceptions

IllegalStateException - Thrown if a renderer has already been set.