summaryrefslogtreecommitdiff
path: root/assetFactory/lights.h
blob: 8657d85c932fe4509a99bb090fb101a857b2ced9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "gfx/models/lights.h"
#include "persistence.h"
#include "stdTypeDefs.h"

struct SpotLight : Persistence::Persistable, SpotLightDef, StdTypeDefs<SpotLight> {
private:
	friend Persistence::SelectionPtrBase<std::shared_ptr<SpotLight>>;
	bool persist(Persistence::PersistenceStore & store) override;
};

struct PointLight : Persistence::Persistable, PointLightDef, StdTypeDefs<PointLight> {
private:
	friend Persistence::SelectionPtrBase<std::shared_ptr<PointLight>>;
	bool persist(Persistence::PersistenceStore & store) override;
};