GraphicsDevice constructor

GraphicsDevice({
  1. Color clearValue = const Color(0x00000000),
})

The Graphical Device provides a way for developers to interact with the GPU by binding different resources to it.

A single render call starts with a call to begin and only ends when end is called. Anything that gets binded to the device in between will be uploaded to the GPU and returns as an Image in end.

Implementation

GraphicsDevice({this.clearValue = const Color(0x00000000)});