FakeBackend constructor
FakeBackend({ - Set<String> missingShaders = const <String>{},
- bool supportsWireframe = true,
- bool supportsStencil = true,
- bool supportsRenderToMip = true,
- Set<TextureFormat> unsupportedFormats = const <TextureFormat>{},
- int maxAnisotropy = 16,
- int maxColorAttachments = 2,
- Map<String, StageBindings>? stageBindings,
- FramebufferOrigin framebufferOrigin = FramebufferOrigin.topLeft,
})
Implementation
FakeBackend({
Set<String> missingShaders = const <String>{},
this.supportsWireframe = true,
this.supportsStencil = true,
this.supportsRenderToMip = true,
this.unsupportedFormats = const <TextureFormat>{},
this.maxAnisotropy = 16,
this.maxColorAttachments = 2,
this.stageBindings,
this.framebufferOrigin = FramebufferOrigin.topLeft,
}) : shaders = FakeShaderLibrary(
missing: missingShaders,
stageBindings: stageBindings,
);