cginternals / cginternals/gloperate
RenderInterface does not register static RenderTarget inputs
- Dominant language
- C++
- Stars
- 43
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the RenderInterface does not register static RenderTarget inputs, as `Stage::addInput` (and thus the signal handler in `RenderInterface`) is called from the constructor of `Slot` for static inputs, which means that the `Input` is not fully constructed yet. Consequently, the `dynamic_cast`s from `AbstractSlot` to `Input` (lines 31-34) always fail.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate RenderInterface, Stage::addInput, and the Slot constructor, then inspect the signal handler and the dynamic_casts at lines 31-34. Trace static RenderTarget construction to confirm why the Input is incomplete when registration occurs. Done means static RenderTarget inputs are registered successfully without the failed casts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100