Table of Contents

Class BrushFactoryManager

Namespace
Bannerlord.UIExtenderEx.ResourceManager
Assembly
Bannerlord.UIExtenderEx.dll

Manages runtime registration of custom Brush instances across all active BrushFactory objects.

Registers brushes directly into the native factory lookup dictionary to prevent JIT inlining bypasses on GetBrush. Injects brushes into newly instantiated factories and handles cache invalidation across BrushFactory.LoadBrushes reloads.

public static class BrushFactoryManager
Inheritance
BrushFactoryManager
Inherited Members

Methods

Create(XmlDocument)

public static IEnumerable<Brush> Create(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

Returns

IEnumerable<Brush>

CreateAndRegister(XmlDocument)

public static void CreateAndRegister(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

Register(IEnumerable<Brush>)

public static void Register(IEnumerable<Brush> brushes)

Parameters

brushes IEnumerable<Brush>

This page was last modified at 10/05/2026 13:34:58 +03:00 (UTC).

Commit Message
Author:    Vitalii Mikhailov
Commit:    f3b725a97c3f299c20e56b5f206e27142ec15edd
* Added C# Auto-Generated XML prefab compilation for patched and dynamic movies, matching vanilla UI performance

* Added name-based property binding fallback for ViewModel subtypes not declared on the parent
* Improved unparseable prefab error logging with name and file details
* Fixed game crash with 3-segment attribute paths
* Added Bannerlord.UIExtenderE...