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

WebGPU 支持生成 mipmap #200

Open
xiaoiver opened this issue Jun 7, 2024 · 1 comment
Open

WebGPU 支持生成 mipmap #200

xiaoiver opened this issue Jun 7, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@xiaoiver
Copy link
Contributor

xiaoiver commented Jun 7, 2024

不同于 WebGL,WebGPU 中并没有原生提供 generateMipmap 方法,需要在 GPU 侧手动生成:

https://webgpufundamentals.org/webgpu/lessons/webgpu-importing-textures.html

@xiaoiver xiaoiver self-assigned this Jun 7, 2024
@xiaoiver xiaoiver added the enhancement New feature or request label Jun 7, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: WebGPU supports generating mipmaps

Unlike WebGL, the generateMipmap method is not natively provided in WebGPU and needs to be generated manually on the GPU side:

https://webgpufundamentals.org/webgpu/lessons/webgpu-importing-textures.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants