| 575 | } |
| 576 | |
| 577 | int32 MaterialParams::Find(const Guid& id) |
| 578 | { |
| 579 | int32 result = -1; |
| 580 | for (int32 i = 0; i < Count(); i++) |
| 581 | { |
| 582 | if (At(i).GetParameterID() == id) |
| 583 | { |
| 584 | result = i; |
| 585 | break; |
| 586 | } |
| 587 | } |
| 588 | return result; |
| 589 | } |
| 590 | |
| 591 | int32 MaterialParams::Find(const StringView& name) |
| 592 | { |
no test coverage detected