Closed dmnsgn closed 4 months ago
Do you prefer getters or function return? Eg.:
Object.assign(ctx, {
...rest
get width() {
return gl.drawingBufferWidth
},
// or
width: function() {
return gl.drawingBufferWidth
},
})
ctx.width()
// or
ctx.width
Getters for constituency with eg tex.width
This PR should include docs
@vorg Updated the PR
Fix #38