| 43 | } |
| 44 | |
| 45 | int32 ParticleLayout::FindAttribute(const StringView& name) const |
| 46 | { |
| 47 | for (int32 i = 0; i < Attributes.Count(); i++) |
| 48 | { |
| 49 | if (name == Attributes[i].Name) |
| 50 | return i; |
| 51 | } |
| 52 | return -1; |
| 53 | } |
| 54 | |
| 55 | int32 ParticleLayout::FindAttribute(const StringView& name, ParticleAttribute::ValueTypes valueType) const |
| 56 | { |
no test coverage detected