GpuSurface class sealed
A presentable Flutter GPU render target.
A surface vends GpuSurfaceFrames. Each frame exposes a color texture to render into and is published with GpuSurfaceFrame.present. The destination of a surface is fixed when the surface is created.
Use GpuContext.createImageSurface to create an image surface that Flutter draws as a ui.Image.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acquireNextFrame(
) → GpuSurfaceFrame? - Acquires the next frame to render into, or null if no frame is available.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited