最新代码
This commit is contained in:
14
public/sdk/three/jsm/renderers/common/Constants.js
Normal file
14
public/sdk/three/jsm/renderers/common/Constants.js
Normal file
@ -0,0 +1,14 @@
|
||||
export const AttributeType = {
|
||||
VERTEX: 1,
|
||||
INDEX: 2,
|
||||
STORAGE: 4
|
||||
};
|
||||
|
||||
// size of a chunk in bytes (STD140 layout)
|
||||
|
||||
export const GPU_CHUNK_BYTES = 16;
|
||||
|
||||
// @TODO: Move to src/constants.js
|
||||
|
||||
export const BlendColorFactor = 211;
|
||||
export const OneMinusBlendColorFactor = 212;
|
Reference in New Issue
Block a user