nativeGraphicsContext top-level property Rendering
Object?
get
nativeGraphicsContext
The platform graphics context the backend draws with, for a runtime that has to bind it, or null where the backend keeps it private.
On the web this is the WebGL2RenderingContext (a JSObject) a WebXR
session's XRWebGLLayer is created from. On Flutter GPU it is null.
Implementation
Object? get nativeGraphicsContext => gpu.gpuHost.nativeGraphicsContext;