FakePass.bundle constructor

FakePass.bundle(
  1. RenderBundleDescriptor bundleDescriptor, {
  2. DeviceFeatures? features,
})

A bundle encoder: records like a pass, and finishes into a RenderBundle whose backend object is this pass.

Implementation

FakePass.bundle(
  RenderBundleDescriptor this.bundleDescriptor, {
  DeviceFeatures? features,
}) : descriptor = const RenderPassDescriptor(colors: <ColorTarget>[]),
     stageBindings = null,
     violations = <String>[],
     features = features ?? DeviceFeatures.none,
     _links = null;