Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for clearBuffer #139

Open
dmnsgn opened this issue May 20, 2024 · 1 comment
Open

Add support for clearBuffer #139

dmnsgn opened this issue May 20, 2024 · 1 comment
Labels
type/feat A new feature

Comments

@dmnsgn
Copy link
Member

dmnsgn commented May 20, 2024

MDN clearBuffer

@dmnsgn dmnsgn added the type/feat A new feature label May 20, 2024
@vorg
Copy link
Member

vorg commented May 20, 2024

as in e.g. array of colors in clearColor ? Yes, please.

ctx.pass({
  color: [colorBufferTex, normalBufferTex],
  clearColor: [[0, 0, 0, 1], [0, 0, 1, 1]], 
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feat A new feature
Projects
None yet
Development

No branches or pull requests

2 participants