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

Update getMaxAnisotropy reference in docs/texture #24041

Merged
merged 2 commits into from
May 11, 2022
Merged

Update getMaxAnisotropy reference in docs/texture #24041

merged 2 commits into from
May 11, 2022

Conversation

dghez
Copy link
Contributor

@dghez dghez commented May 10, 2022

Update the documentation in Texture
renderer.getMaxAnisotropy() is now renderer.capabilities.getMaxAnisotropy(), spotted in the warnings

Screenshot 2022-05-10 at 15 06 42

Update the documentation in Texture
`renderer.getMaxAnisotropy()` is now `renderer.capabilities.getMaxAnisotropy()`
@Mugen87
Copy link
Collaborator

Mugen87 commented May 10, 2022

Good catch! Can you please apply the same fix to the Chinese version of the document?

使用[page:WebGLrenderer.getMaxAnisotropy renderer.getMaxAnisotropy]() 来查询GPU中各向异性的最大有效值;这个值通常是2的幂。

Update `renderer.getMaxAnisotropy` to `renderer.capabilities.getMaxAnisotropy`
@dghez
Copy link
Contributor Author

dghez commented May 10, 2022

@Mugen87 done!

Everything should be fine

@Mugen87 Mugen87 added this to the r141 milestone May 10, 2022
@mrdoob mrdoob merged commit 175871e into mrdoob:dev May 11, 2022
@mrdoob
Copy link
Owner

mrdoob commented May 11, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
* Update getMaxAnisotropy reference in docs/texture

Update the documentation in Texture
`renderer.getMaxAnisotropy()` is now `renderer.capabilities.getMaxAnisotropy()`

* Update Chinese Texture.html

Update `renderer.getMaxAnisotropy` to `renderer.capabilities.getMaxAnisotropy`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants