Size of the DrawUniforms block in bytes — the layout above, ending on its
last member.
Not the 256-byte stride: this is the size a binding declares
(minBindingSize) and the size a bind group binds, while the stride is how
far apart two blocks sit in the buffer. Conflating them would bind 64 bytes
of the next draw's block into this draw's shader.
Size of the
DrawUniformsblock in bytes — the layout above, ending on its last member.Not the 256-byte stride: this is the size a binding declares (
minBindingSize) and the size a bind group binds, while the stride is how far apart two blocks sit in the buffer. Conflating them would bind 64 bytes of the next draw's block into this draw's shader.