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
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
bundleondeviceand creates a pipeline for each ofspecs. Throws a StateError naming any shader the bundle lacks.