Skip to content

Make Dlss implement Default for all feature types - #25518

Open
lomirus wants to merge 1 commit into
bevyengine:mainfrom
lomirus:main
Open

Make Dlss implement Default for all feature types#25518
lomirus wants to merge 1 commit into
bevyengine:mainfrom
lomirus:main

Conversation

@lomirus

@lomirus lomirus commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Objective

Allow Dlss<DlssRayReconstructionFeature> to use Default, consistent with DLSS Super Resolution.

Solution

impl<F: DlssFeature> Default for Dlss<F> {}

Testing

  • Ran cargo fmt.
  • Ran cargo clippy -p bevy_anti_alias --features dlss,force_disable_dlss --lib.

Showcase

camera.insert(Dlss::<DlssRayReconstructionFeature>::default());

@JMS55 JMS55 added D-Trivial Nice and easy! A great choice to get started with Bevy A-Rendering Drawing game state to the screen S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Aug 23, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering Aug 23, 2026
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 D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

3 participants