Searched refs:GLBHeader (Results 1 – 3 of 3) sorted by relevance
2800 GLBHeader header; in PrimitiveAttributes()2801 uint64_t bytes = file.Read(&header, sizeof(GLBHeader)); in PrimitiveAttributes()2803 if (bytes < sizeof(GLBHeader)) { in PrimitiveAttributes()2837 const size_t dataOffset = chunkJson.chunkLength + sizeof(GLBHeader) + 2 * sizeof(GLBChunk); in PrimitiveAttributes()2920 if (data.size() >= (sizeof(GLBHeader) + sizeof(GLBChunk))) { in PrimitiveAttributes()2921 GLBHeader const& header = *reinterpret_cast<GLBHeader const*>(data.data()); in PrimitiveAttributes()
167 struct GLBHeader { in CORE3D_BEGIN_NAMESPACE() struct
2254 auto const header = GLBHeader { GLTF_MAGIC, 2, in SaveGLB()2255 …static_cast<uint32_t>(sizeof(GLBHeader) + sizeof(GLBChunk) + jsonSize + sizeof(GLBChunk) + binaryS… in SaveGLB()