Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
LE3MaterialUsageScanner.cs File Reference

Classes

class  LegendaryExplorerCore.Shaders.LE3MaterialUsageScanner
 Finds what each material in a package is drawn with, for LE3MaterialUsageAdvisor. Instances resolve to their base Material, since usage flags live there. Reports only uses it can see in this package; a material used from other packages needs those scanned too. Checked against every shipping LE3 package (LE3MaterialUsageScannerValidation): skeletal mesh, particle, beam, decal, fog, spline, morph, lens flare and material-effect uses match the shipped flags to within a few dozen of 550k. Lightmapped meshes report StaticLighting and VectorLightMaps; shipping leaves VectorLightMaps clear on about 3% of them, so that one is a deliberate superset. SimpleLightMaps and LightEnvironments are not derived: shipping leaves them clear on most uses. More...

Namespaces

namespace  LegendaryExplorerCore
namespace  LegendaryExplorerCore.Shaders

Functions

record LegendaryExplorerCore.Shaders.LE3MaterialUse (ExportEntry BaseMaterial, string ReferencePath, LE3MaterialUsage Usage, string Source, string Detail=null)
 One use of a material found in a package.