GPURendererStub class

Stub implementation that reports GPU is not available. Replace with real implementation when flutter_gpu is stable.

Implemented types

Constructors

GPURendererStub()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAvailable → bool
Whether GPU rendering is available on this platform.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

beginFrame(double width, double height) → void
Begins a new render frame.
override
bindInstancedTransformBuffer(List<double> transforms) → void
Binds a buffer of instance transform matrices for instanced GPU rendering.
override
bindShader(String vertexShader, String fragmentShader) → void
Binds a shader program.
override
bindVertexBuffer(List<double> vertices, List<int> indices) → void
Binds a vertex buffer for rendering.
override
dispose() → void
Releases GPU resources.
override
draw() → void
Draws the currently bound geometry.
override
drawInstanced(int instanceCount) → void
Draws the currently bound geometry with instanced rendering.
override
endFrame() → Future
Ends the frame and returns the rendered image.
override
initialize() → Future<void>
Initializes the GPU context.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUniform(String name, dynamic value) → void
Sets a uniform value.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited