Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Resolves one capability-compatible pass.

API: engine
Project: Inno.Rendering.Assets

public static Inno.Rendering.Assets.MaterialPassResolution? Inno.Rendering.Assets.MaterialPassResolver.Resolve(Inno.Rendering.Assets.MaterialAsset material, Inno.Rendering.Assets.ShaderContractId contractId, Inno.Rendering.Assets.ShaderPassRoleId passRoleId, Inno.Rendering.GraphicsCapabilities capabilities)

Parameter material: Material whose shader and technique should be queried.

Parameter contractId: Rendering-provider contract required by the caller.

Parameter passRoleId: Provider-defined pass role required by the caller.

Parameter capabilities: Current device capability snapshot.

The selected technique and pass, or null when no compatible mapping exists.