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

Add stride and offset to buffer allowedProps #125

Closed dmnsgn closed 6 months ago

dmnsgn commented 1 year ago

Only stride is missing now

dmnsgn commented 6 months ago

Actually stride/offset/normalized/divisor are props of attributes ({ buffer: ctx.vertexBuffer(), stride: 6, ... }), not buffer options.