PipelineSet class final

Every pipeline a renderer draws with, created up front.

Creating a pipeline is synchronous and the first one of a kind can stall a frame for 100 ms or more, so the renderer creates its fixed set here, behind a loading screen, instead of on the first frame that needs one.

Properties

hashCode → int
The hash code for this object.
no setterinherited
length → int
How many pipelines it holds.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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
operator [](PipelineSpec spec) → GpuPipeline
The pipeline for spec; it must have been in the set.

Static Methods

load(GpuDevice device, String bundle, Iterable<PipelineSpec> specs) → Future<PipelineSet>
Loads bundle on device and creates a pipeline for each of specs. Throws a StateError naming any shader the bundle lacks.