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

[FR]: read screen pixel & save a screenshot #207

Open
lslzl3000 opened this issue Jun 5, 2023 · 0 comments
Open

[FR]: read screen pixel & save a screenshot #207

lslzl3000 opened this issue Jun 5, 2023 · 0 comments
Labels
feature New feature or request
Milestone

Comments

@lslzl3000
Copy link
Collaborator

Need something like https://threejs.org/docs/#api/en/renderers/WebGLRenderer.readRenderTargetPixels
to read a certain position screen pixels into a JS buffer

Furthermore, by doing copy render texture back into JS,something like saveScrrenShot(type: string = image/png) would be a nice API to auto save current frame into a jpg/png/webp/or raw buffer

@lslzl3000 lslzl3000 added the feature New feature or request label Jun 5, 2023
@lslzl3000 lslzl3000 added this to the 0.6 milestone Jun 5, 2023
@lslzl3000 lslzl3000 added this to Engine Jun 5, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Engine Jun 5, 2023
@Noah133552 Noah133552 moved this from 📋 Backlog to 🔨Todo in Engine Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: 🔨Todo
Development

No branches or pull requests

1 participant