class
ShaderVariations
A container for all variations of a single Shader.
Public
Methods
Get
Returns a variation at the specified index.
Variations are indexed sequentially as they are added.
Find
Scans a list of stored variations and returns an index of a variation that has the same parameters as the provided one, or -1 if one is not found.
GetVariations
Returns a list of all variations.
Clear
void Clear()
Clears all the shader variations from the set.
IsEmpty
bool IsEmpty() const
Returns true if the object contains zero variations.
Private
Fields
mVariations
TInlineArray<ShaderVariationParameters, 4> mVariations
mNextIdx
u32 mNextIdx