More direct way to get maximum texture size
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
To get the maximum texture size that you can create, you have to create a `Viewer` and wait for it to be ready. It creates a `Context` for you, which initializes the values of the global constant container `ContextLimits`, which has the value you are looking for `maximumTextureSize`. It would be nice to not have to jump through a bunch of hoops if you are just trying to get at that max texture size for the computer you are on.
Contributor guide
Research direction
Start by reading how Viewer creates and waits for a Context, then trace where ContextLimits.maximumTextureSize is initialized. Confirm the intended direct access path and check the existing ContextLimits behavior. Done means callers can obtain the maximum texture size without creating a Viewer or waiting for it to be ready.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100