static List <string> GetPlatformList(RayTracingShader rs) { var platformList = new List <string>(); var platformCount = ShaderUtil.GetRayTracingShaderPlatformCount(rs); for (var i = 0; i < platformCount; ++i) { var platform = ShaderUtil.GetRayTracingShaderPlatformType(rs, i); if (ShaderUtil.IsRayTracingShaderValidForPlatform(rs, platform)) { platformList.Add(platform.ToString()); } } return(platformList); }