(start xml.StartElement, np *Newparam)
| 435 | } |
| 436 | |
| 437 | func (d *Decoder) decSampler2D(start xml.StartElement, np *Newparam) error { |
| 438 | |
| 439 | sp := new(Sampler2D) |
| 440 | np.ParameterType = sp |
| 441 | |
| 442 | for { |
| 443 | child, data, err := d.decNextChild(start) |
| 444 | if err != nil || child.Name.Local == "" { |
| 445 | return err |
| 446 | } |
| 447 | if child.Name.Local == "source" { |
| 448 | sp.Source = string(data) |
| 449 | continue |
| 450 | } |
| 451 | } |
| 452 | } |
| 453 | |
| 454 | func (d *Decoder) decProfileCommonTechnique(start xml.StartElement, pc *ProfileCOMMON) error { |
| 455 |
no test coverage detected