NullGpuDevice constructor

NullGpuDevice({
  1. GpuCaps caps = GpuCaps.all,
  2. Map<String, Map<String, NullUniformBlock>> shaders = const {},
})

A null device reporting caps, whose shader libraries hold shaders (name → uniform blocks, each block name → member offsets and size).

Implementation

NullGpuDevice({this.caps = GpuCaps.all, this.shaders = const {}});