Question: Why use this value in constants.js
See original GitHub issueI am sorry to bother you, why is it designed this way, may be this question is very simple, just for unique id like UUID?
export var StaticDrawUsage = 35044; // equal 0b100010001110_0100
export var DynamicDrawUsage = 35048;// equal 0b100010001110_1000
export var StreamDrawUsage = 35040; // equal 0b100010001110_0000
export var StaticReadUsage = 35045; // equal 0b100010001110_0101
export var DynamicReadUsage = 35049;// equal 0b100010001110_1001
export var StreamReadUsage = 35041; // equal 0b100010001110_0001
export var StaticCopyUsage = 35046; // equal 0b100010001110_0110
export var DynamicCopyUsage = 35050;// equal 0b100010001110_1010
export var StreamCopyUsage = 35042; // equal 0b100010001110_0010
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
const - JavaScript - MDN Web Docs - Mozilla
The const declaration creates block-scoped constants, much like variables declared using the let keyword. The value of a constant can't be ...
Read more >node.js - Const in JavaScript: when to use it and is it necessary?
From what I can tell, it is used to create immutable variables. That is wrong. ... The const declaration creates a read-only reference...
Read more >Constants in JavaScript - the const keyword - YouTube
In this video we take a look at how to use constants in JavaScript with the const keyword. What are they? How do...
Read more >Setting variables (and doing other things) with questions
Within a fields question, there are many possible datatype values that you can use. These affect what the user sees and how the...
Read more >Introduction to JavaScript Variables and Assignment - AlgoDaily
Be careful about the assignment of values to variables! JavaScript allows creating variables without assigning them values. However, if that same variable is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants#Buffers
see: https://github.com/mrdoob/three.js/pull/19431