MCPcopy Create free account
hub / github.com/DavidColson/Polybox / GltfAccessor

Class GltfAccessor

source/asset_importer.cpp:151–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149};
150
151struct 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected