GpuDevice
fun GpuDevice(shaderFormats: Set<ShaderFormat>, validation: GpuValidation = GpuValidation.DISABLED): GpuDevice(source)
Creates a GPU device that accepts shaders in any of shaderFormats. Pass every format you ship so SDL can pick a backend on each platform.
Throws
if shaderFormats is empty.
if no backend supports the formats.