struct
FindVariationInformation
Structure used when searching for a specific variation in a Material.
Public
Fields
VariationParameters
const ShaderVariationParameters * VariationParameters
Specified variation parameters.
Parameters not specified are assumed to be irrelevant.
Override
bool Override
Determines should the parameters in override any parameters that might have been defined on the Material itself.
If false then you are guaranteed to search only over the subset of variations that match the Material's internal variation parameters. If true then you can search outside that range by setting a variation parameter to some different value. Overriding can be useful for renderers which might need to override the user's choice of variation.