BufferAttribute.dynamic: revisited

This discussion also applies to InterleavedBuffer.dynamic.

It seems that the dynamic property is being used for multiple purposes:

  1. as a hint as to how frequently the data will be updated, [docs], and

  2. as a flag, that when true, allows the updating of only a sub-rage, as specified in the updateRange property. [code].

The examples are not consistent here. Even in examples in which the entire range is being updated each frame, sometimes the dynamic property is set to true, and sometimes it is not.

This has been discussed before, and the purpose of the property was modified at that time.

What should we advise users to do in setting this property?

/ping @benaadams
/ping @mattdesl
/ping @mrdoob

  • [ x ] Dev
  • [ x ] r95

Author: Fantashit

1 thought on “BufferAttribute.dynamic: revisited

Comments are closed.