Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support optional clear color in ColorAttachment. #11884

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

tychedelia
Copy link
Contributor

This represents when the user has configured ClearColorConfig::None in their application. If the clear color is None, we will always Load instead of attempting to clear the attachment on the first call.

Fixes #11883.

@james-j-obrien
Copy link
Contributor

james-j-obrien commented Feb 15, 2024

Looks good to me!

@alice-i-cecile alice-i-cecile added this to the 0.13 milestone Feb 15, 2024
This represents when the user has configured `ClearColorConfig::None`
in their application. If the clear color is `None`, we will always
`Load` instead of attempting to clear the attachment on the first
call.

Fixes bevyengine#11883.
@tychedelia tychedelia force-pushed the 11883-clear-color-config branch from c6a9496 to 6143452 Compare February 15, 2024 23:53
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

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

Surprisingly straightforward, nice stuff.

@mockersf mockersf added C-Bug An unexpected or incorrect behavior 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 Feb 16, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Feb 16, 2024
Merged via the queue into bevyengine:main with commit 9505f6e Feb 16, 2024
26 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClearColorConfig::None doesn't correctly disable clear behavior
5 participants