Skip to content

Conversation

tychedelia
Copy link
Member

Objective

#20830 created the possibility that we may want to have render targets that produce a number of outputs, e.g. depth and normals. This is a first step towards something like that (e.g. a RendersTo relation) by converting RenderTarget to be a component. This is also useful for out-of-tree render targets that may want to do something like #[require(RenderTarget::Image)] once BSN lands.

Solution

Make it a component.

@tychedelia tychedelia added C-Feature A new feature, making something new possible A-Rendering Drawing game state to the screen S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Sep 7, 2025
@tychedelia tychedelia added this to the 0.18 milestone Sep 7, 2025
Copy link
Contributor

@ickshonpe ickshonpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, all the changes make sense, no problems with any of the examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants