userLorenz Junglascancel
branchsbox/improve-draw-renderattribute-overridescancel

7 Commits over 0 Days - ∞cph!

2 Months Ago
Rename param
2 Months Ago
Replace SetRoot call with MergeToPreserveExisting
2 Months Ago
Fix typo in comment
2 Months Ago
Add native CRenderAttributes merge function that preserves existing values Use that function to merge render attributes in managed
2 Months Ago
Remove leftover comment
2 Months Ago
Improve handling of RenderAttribute overrides/additions in Draw APIs Attributes passed to CommandList.DrawX and Graphics.DrawX now correctly merge with the "global" (CommandList.Attributes / Graphics.Attributes) attribute set. Replaced existing usages of Attributes.MergeTo, the existing usage could lead to defaults overriding more specific values. e.g. `Scene.RenderAttributes.MergeTo( camera.Attributes )` would potentially overwrite attributes in camera.Attributes with attributes from Scene.RenderAttribute we want it the other way around though. Fixed DrawModelInstanced using blacklisted Memory type as parameter. Remove leftover comment
2 Months Ago
Improve handling of RenderAttribute overrides/additions in Draw APIs Attributes passed to CommandList.DrawX and Graphics.DrawX now correctly merge with the "global" (CommandList.Attributes / Graphics.Attributes) attribute set. Replaced existing usages of Attributes.MergeTo, the existing usage could lead to defaults overriding more specific values. e.g. `Scene.RenderAttributes.MergeTo( camera.Attributes )` would potentially overwrite attributes in camera.Attributes with attributes from Scene.RenderAttribute we want it the other way around though. Fixed DrawModelInstanced using blacklisted Memory type as parameter.