class
VariationBase
Base class that is used for implementing both main and render thread versions of Variation.
Public
Constructors
VariationBase
Methods
~VariationBase
virtual ~VariationBase() noexcept = default
IsSupported
bool IsSupported() const
Checks if this variation is supported based on current render and other systems.
GetVariationParameters
Returns a set of preprocessor defines used for compiling this particular variation.
Protected
Methods
MarkRenderProxyDirty
virtual void MarkRenderProxyDirty(ShaderVariationDirtyFlags flags)
Marks the contents as dirty, causing it to sync with the render thread object.
SyncToRenderProxy
virtual void SyncToRenderProxy()
Ensures all dirty syncable data is send to the render proxy (if any).
Fields
mLanguage
String mLanguage
mVariationParameters
ShaderVariationParameters mVariationParameters