pex-gl / pex-context

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
http://pex-gl.github.io/pex-context/
MIT License
160 stars 12 forks source link

Verify pipeline parameters #20

Open vorg opened 6 years ago

vorg commented 6 years ago

E.g. this should crash

ctx.pipeline({
   blendSrcRGBFactor: ctx.SRC_ALPHA
})

as it should be ctx.BlendFactor.SrcAlpha

dmnsgn commented 5 years ago

Does it matter if the value is right but not coming from the the pex-context enums?