2 #include <mbgl/style/layer_impl.hpp>
26 template <
class Derived>
28 return static_cast<const Derived&
>(*properties).evaluated;
31 template <
class Derived>
33 return static_cast<const Derived&
>(*properties).crossfade;
An interface, wrapping evaluated layer properties.
virtual ~LayerProperties()=default
LayerProperties(Immutable< Layer::Impl > impl)
Immutable< Layer::Impl > baseImpl
uint8_t renderPasses
Contains render passes used by the renderer, see mbgl::RenderPass.
virtual unsigned long constantsMask() const
Returns constants mask for the data-driven properties.
const auto & getEvaluated(const Immutable< LayerProperties > &properties)
const auto & getCrossfade(const Immutable< LayerProperties > &properties)