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

Classes

class  LegendaryExplorerCore.Shaders.LE3MaterialUsageAdvisor
 Mirrors the shipping UMaterial::CheckMaterialUsage worker (0x7ff74ab2e260) as a pure query. The game never sets a usage flag at runtime: a use whose flag is clear either falls back to the default material (terrain foliage, lightmapped static meshes, decals, fog volumes) or reaches a fatal missing-shader error at draw time. The flags also select which vertex-factory shaders a complete shader map must hold, so set them before compiling. Read flags from the base Material; instances defer to it. More...

Namespaces

namespace  LegendaryExplorerCore
namespace  LegendaryExplorerCore.Shaders

Enumerations

enum  LegendaryExplorerCore.Shaders.LE3MaterialUsage {
  LegendaryExplorerCore.Shaders.SkeletalMesh = 0 , LegendaryExplorerCore.Shaders.FracturedMeshes = 1 , LegendaryExplorerCore.Shaders.ParticleSprites = 2 , LegendaryExplorerCore.Shaders.BeamTrails = 3 ,
  LegendaryExplorerCore.Shaders.ParticleSubUV = 4 , LegendaryExplorerCore.Shaders.Foliage = 5 , LegendaryExplorerCore.Shaders.SpeedTree = 6 , LegendaryExplorerCore.Shaders.StaticLighting = 7 ,
  LegendaryExplorerCore.Shaders.GammaCorrection = 8 , LegendaryExplorerCore.Shaders.LensFlare = 9 , LegendaryExplorerCore.Shaders.InstancedMeshParticles = 10 , LegendaryExplorerCore.Shaders.FluidSurface = 11 ,
  LegendaryExplorerCore.Shaders.Decals = 12 , LegendaryExplorerCore.Shaders.MaterialEffect = 13 , LegendaryExplorerCore.Shaders.MorphTargets = 14 , LegendaryExplorerCore.Shaders.FogVolumes = 15 ,
  LegendaryExplorerCore.Shaders.RadialBlur = 16 , LegendaryExplorerCore.Shaders.InstancedMeshes = 17 , LegendaryExplorerCore.Shaders.SplineMesh = 18 , LegendaryExplorerCore.Shaders.ScreenDoorFade = 19 ,
  LegendaryExplorerCore.Shaders.APEXMesh = 20 , LegendaryExplorerCore.Shaders.LightEnvironments = 21 , LegendaryExplorerCore.Shaders.VectorLightMaps = 22 , LegendaryExplorerCore.Shaders.SimpleLightMaps = 23
}
 LE3 EMaterialUsage, in native order (GetUsageByFlag 0x7ff74ab24340). More...

Functions

record LegendaryExplorerCore.Shaders.LE3MaterialUsageReport (IReadOnlyList< string > MissingFlags, IReadOnlyList< LE3MaterialUsage > Vetoed, bool IsSpecialEngineMaterial)
 Result of LE3MaterialUsageAdvisor.Check(PropertyCollection, IEnumerable<LE3MaterialUsage>).