1
0

Handle byte stride on vertex buffers

Vertex buffers (and only vertex buffers) may have a byte stride
specified.
This commit is contained in:
JosiahWI
2023-11-29 19:57:58 -06:00
committed by Josiah VanderZee
parent 86026f9205
commit 95a4030b50
4 changed files with 93 additions and 3 deletions

View File

@@ -104,6 +104,8 @@ private:
std::size_t getElemCount(const std::size_t accessorIdx) const;
std::size_t getByteStride(const std::size_t accessorIdx) const;
BufferOffset getBuffer(const std::size_t accessorIdx) const;
std::size_t getIndicesAccessorIdx(const std::size_t meshIdx,