ResourceDictionary Texture Optimization
Posted: 25 Aug 2021, 16:30
Hello! Hoping you are all well. Noesis is terrific and it is a joy to work with. I have an optimization question.
If I have a resource dictionary with definitions as follows:
...
Is this internally stored as a single texture? More specifically, is it 1x or 3x memory usage?
If I have a resource dictionary with definitions as follows:
Is this internally stored as one texture or two? More specifically, is it 1x or 2x memory usage?
Thanks!
If I have a resource dictionary with definitions as follows:
Code: Select all
<ImageBrush x:Key="Window_0_TL" ImageSource="Images/window chrome/popup/background_x1.png" ViewboxUnits="Absolute" Viewbox="0,0,20,20"/>
<ImageBrush x:Key="Window_0_T" ImageSource="Images/window chrome/popup/background_x1.png" ViewboxUnits="Absolute" Viewbox="20,0,426,20"/>
<ImageBrush x:Key="Window_0_TR" ImageSource="Images/window chrome/popup/background_x1.png" ViewboxUnits="Absolute" Viewbox="446,0,20,20"/>Is this internally stored as a single texture? More specifically, is it 1x or 3x memory usage?
If I have a resource dictionary with definitions as follows:
Code: Select all
<ImageBrush x:Key="Fwd Light_Light" ImageSource="Images/context menu/actions/light/light.png" Stretch="None"/>
<ImageBrush x:Key="Lnd Light_Light" ImageSource="Images/context menu/actions/light/light.png" Stretch="None"/>Thanks!