MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::LayerProperties Class Reference

An interface, wrapping evaluated layer properties. More...

#include <layer_properties.hpp>

Public Member Functions

virtual ~LayerProperties ()=default
 
virtual unsigned long constantsMask () const
 Returns constants mask for the data-driven properties. More...
 

Public Attributes

Immutable< Layer::Impl > baseImpl
 
uint8_t renderPasses = 0u
 Contains render passes used by the renderer, see mbgl::RenderPass. More...
 

Protected Member Functions

 LayerProperties (Immutable< Layer::Impl > impl)
 

Detailed Description

An interface, wrapping evaluated layer properties.

It is an abstract base class; concrete derived classes that hold the actual data are provided for each layer type.

Definition at line 13 of file layer_properties.hpp.

Constructor & Destructor Documentation

◆ ~LayerProperties()

virtual mbgl::style::LayerProperties::~LayerProperties ( )
virtualdefault

◆ LayerProperties()

mbgl::style::LayerProperties::LayerProperties ( Immutable< Layer::Impl >  impl)
inlineprotected

Definition at line 23 of file layer_properties.hpp.

Member Function Documentation

◆ constantsMask()

virtual unsigned long mbgl::style::LayerProperties::constantsMask ( ) const
inlinevirtual

Returns constants mask for the data-driven properties.

Definition at line 17 of file layer_properties.hpp.

Member Data Documentation

◆ baseImpl

Immutable<Layer::Impl> mbgl::style::LayerProperties::baseImpl

Definition at line 18 of file layer_properties.hpp.

◆ renderPasses

uint8_t mbgl::style::LayerProperties::renderPasses = 0u

Contains render passes used by the renderer, see mbgl::RenderPass.

Definition at line 20 of file layer_properties.hpp.


The documentation for this class was generated from the following file: