| 95 | } |
| 96 | |
| 97 | uint32_t VertexFormat::GetOffset(int32_t i) const |
| 98 | { |
| 99 | LogAssert( |
| 100 | 0 <= i && i < mNumAttributes, |
| 101 | "Invalid index " + std::to_string(i) + "."); |
| 102 | |
| 103 | return mAttributes[i].offset; |
| 104 | } |
| 105 | |
| 106 |
no outgoing calls
no test coverage detected