Files
MapLibreParticleLab/include/mbgl/style/light.hpp.ejs
2017-05-08 19:39:55 +03:00

37 lines
877 B
Plaintext

<%
const properties = locals.properties;
-%>
// This file is generated. Do not edit.
#pragma once
#include <mbgl/style/property_value.hpp>
#include <mbgl/style/transition_options.hpp>
#include <mbgl/style/types.hpp>
#include <memory>
namespace mbgl {
namespace style {
class Light {
public:
class Impl;
Light();
~Light();
<% for (const property of properties) { -%>
static <%- evaluatedType(property) %> getDefault<%- camelize(property.name) %>();
<%- propertyValueType(property) %> get<%- camelize(property.name) %>() const;
void set<%- camelize(property.name) %>(<%- propertyValueType(property) %>);
void set<%- camelize(property.name) %>Transition(const TransitionOptions&);
TransitionOptions get<%- camelize(property.name) %>Transition() const;
<% } -%>
std::shared_ptr<Impl> impl;
};
} // namespace style
} // namespace mbgl