Skip to main content

Module layout

Module layout 

Source

Traitsยง

MaterialLayout
Consumes resolved material values and decides how they are laid out in memory - as a single array-of-structs blob (see the pack::aos module), as per-field structure-of-arrays buffers, or otherwise. ShadingStrategy describes what fields exist and what their values are; MaterialLayout decides where those values live.