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.