CompiledShader
class CompiledShader(val stage: ShaderStage, msl: String, spirvBase64: String, dxilBase64: String, val samplers: Int, val storageTextures: Int, val storageBuffers: Int, val uniformBuffers: Int)(source)
One shader compiled for every backend: MSL source for Metal, SPIR-V for Vulkan and DXIL for Direct3D 12, with the resource counts SDL needs. Produced by the compileShaders build task from HLSL; create the backend's shader with GpuDevice.createShader.