branchsbox/improve-draw-renderattribute-overridescancel

7 Commits over 0 Days - ∞cph!

6 Days Ago
Rename param
9 Days Ago
Replace SetRoot call with MergeToPreserveExisting
9 Days Ago
Fix typo in comment
9 Days Ago
Add native CRenderAttributes merge function that preserves existing values Use that function to merge render attributes in managed
10 Days Ago
Remove leftover comment
10 Days 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
10 Days 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.