configure method

void configure(
  1. GPUCanvasConfiguration configuration
)

The configure() method of the GPUCanvasContext interface configures the context to use for rendering with a given GPUDevice. When called the canvas will initially be cleared to transparent black.

Implementation

external void configure(GPUCanvasConfiguration configuration);