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 maxSamples property of renderer.capabilities to Docs #24004

Closed
ben4d85 opened this issue May 4, 2022 · 0 comments · Fixed by #24008
Closed

Add maxSamples property of renderer.capabilities to Docs #24004

ben4d85 opened this issue May 4, 2022 · 0 comments · Fixed by #24008

Comments

@ben4d85
Copy link

ben4d85 commented May 4, 2022

Is your feature request related to a problem? Please describe.

When console logging renderer.capabilities, the resulting object contains a property maxSamples: 8.

This property appears to be missing from the docs, see https://threejs.org/docs/#api/en/renderers/WebGLRenderer.capabilities

Describe the solution you'd like

Add the property to the docs and explain what it is for.

Additional context

I assume the maxSamples property is related to the (fairly new) ability to set the samples property of a WebGLRenderTarget (which only works for WebGL 2). It would be great to see this in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants