Skip to main content

useGraphics

Summary

Register the graphics library used to render the game.

Signature

Parameters

library

Type:IGraphicsLibrary Graphics library instance (e.g. Graphics2DLibrary).

Returns

Type:void Register the graphics library used to render the game.