question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BufferAttribute.dynamic: revisited

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:41 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
WestLangleycommented, Oct 4, 2019

Many thanks to everyone. 😃

1reaction
WestLangleycommented, Jul 17, 2019

@Mugen87 Yay! Have a go. 😃

Rename BufferAttribute.dynamic to BufferAttribute.usage and introduce all respective WebGL constants

Actually, I would prefer to say .dynamic has been removed, and a new property .usage has been added. To say it was “renamed” would imply the behavior has not changed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BufferAttribute#dynamic – three.js docs
This class stores data for an attribute (such as vertex positions, face indices, normals, colors, UVs, and any custom attributes ) associated with...
Read more >
Ambient Guilloché - Max Irwin
In this post I revisit the beautiful and elegant patterns as 3d constructs that resonate ... BufferAttribute(thetas,1));; return geometry; ...
Read more >
Multi-Fragment Effects on the GPU using the k ... - CiteSeerX
add dynamic scheduling of fragments to GPUs to detect and avoid pipeline hazards. ... The k-buffer attribute pa- ... The shadow depth map...
Read more >
RFC 6064 - SDP and RTSP Extensions Defined for 3GPP ...
Video Buffering Attribute The PSS media-level buffer attribute "a=X-initpredecbufperiod" (see Section 4.1) that specifies an initial buffering time is also ...
Read more >
an overview of servlet and jsp technology - Jose M. Vidal
online stores, interactive Web applications, and other dynamic Web sites. Why? This ... quitting the browser, waiting an hour, and revisiting the servlet....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found