Add DepthState::reverse as an alternative for DepthState::simple with a suitable comparison for a reverse depth buffer (ranging from the farthest level 0 to the nearest point 1)
[x] Update documentation to reflect any user-facing changes - in this repository.
[ ] Make sure that the changes are covered by unit-tests. Not needed? I don't see tests for DepthState::simple either...
[x] Run cargo clippy on the changes.
[x] Run cargo +nightly fmt on the changes.
[x] Please put changelog entries in the description of this Pull Request
if knowledge of this change could be valuable to users. No need to put the
entries to the changelog directly, they will be transferred to the changelog
file by maintainers right after the Pull Request merge.
Please remove any items from the template below that are not applicable.
[x] Describe in common words what is the purpose of this change, related
Github Issues, and highlight important implementation aspects.
Add
DepthState::reverse
as an alternative forDepthState::simple
with a suitable comparison for a reverse depth buffer (ranging from the farthest level 0 to the nearest point 1)[x] Update documentation to reflect any user-facing changes - in this repository.
[ ] Make sure that the changes are covered by unit-tests. Not needed? I don't see tests for
DepthState::simple
either...[x] Run
cargo clippy
on the changes.[x] Run
cargo +nightly fmt
on the changes.[x] Please put changelog entries in the description of this Pull Request if knowledge of this change could be valuable to users. No need to put the entries to the changelog directly, they will be transferred to the changelog file by maintainers right after the Pull Request merge.
Please remove any items from the template below that are not applicable.
[x] Describe in common words what is the purpose of this change, related Github Issues, and highlight important implementation aspects.
Changelog: