created ShadeMyCanvas (smc)
This commit is contained in:
parent
935cc44f66
commit
1d06470ccd
12 changed files with 539 additions and 24 deletions
10
www/js/smc/errors.js
Normal file
10
www/js/smc/errors.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export { SmcErr };
|
||||
|
||||
const SmcErr = {
|
||||
UNSUPPORTED: 0, // unused
|
||||
SHADER_COMPILATION: 1,
|
||||
PROGRAM_INIT: 2,
|
||||
ATTRIBUTE_MISSING: 3,
|
||||
UNIFORM_MISSING: 4,
|
||||
FETCH_SHADER: 5,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue