| 86 | } |
| 87 | |
| 88 | DFType VertexFormat::GetType(int32_t i) const |
| 89 | { |
| 90 | LogAssert( |
| 91 | 0 <= i && i < mNumAttributes, |
| 92 | "Invalid index " + std::to_string(i) + "."); |
| 93 | |
| 94 | return mAttributes[i].type; |
| 95 | } |
| 96 | |
| 97 | uint32_t VertexFormat::GetOffset(int32_t i) const |
| 98 | { |
no outgoing calls
no test coverage detected