Skip to main content

Module strategy

Module strategy 

Source

Structs§

StrategyRegistry
Registry of available shading strategies, looked up by name.

Traits§

ShadingStrategy
Interprets a Material’s properties for a specific way of shading it. A strategy describes what GPU fields it needs (fields) and how to resolve each one from a material (resolve); it does not decide how those fields are laid out in memory - that is the responsibility of a separate packing module (see pack::aos) that consumes both methods.