| 149 | }; |
| 150 | |
| 151 | struct GltfAccessor { |
| 152 | // pointer to some place in a buffer view |
| 153 | u8* pBuffer { nullptr }; |
| 154 | i32 count { 0 }; |
| 155 | enum ComponentType { |
| 156 | Byte, |
| 157 | UByte, |
| 158 | Short, |
| 159 | UShort, |
| 160 | UInt, |
| 161 | f32 |
| 162 | }; |
| 163 | ComponentType componentType; |
| 164 | |
| 165 | enum Type { |
| 166 | Scalar, |
| 167 | Vec2, |
| 168 | Vec3, |
| 169 | Vec4, |
| 170 | Mat2, |
| 171 | Mat3, |
| 172 | Mat4 |
| 173 | }; |
| 174 | Type type; |
| 175 | }; |
| 176 | |
| 177 | // *********************************************************************** |
| 178 |
nothing calls this directly
no outgoing calls
no test coverage detected