Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TSdlResourceBase.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace ph
7{
8
14template<ESdlTypeCategory TYPE_CATEGORY>
16{
17public:
22 static constexpr ESdlTypeCategory CATEGORY = TYPE_CATEGORY;
23
24protected:
25 inline TSdlResourceBase() = default;
26 inline TSdlResourceBase(const TSdlResourceBase& other) = default;
27 inline TSdlResourceBase(TSdlResourceBase&& other) = default;
28
29 inline TSdlResourceBase& operator = (const TSdlResourceBase& rhs) = default;
31
32public:
34};
35
36// In-header Implementations:
37
38template<ESdlTypeCategory TYPE_CATEGORY>
43
44}// end namespace ph
A convenient ISdlResource with some core requirements implemented. This class does not provide static...
Definition SdlResourceBase.h:17
A convenient ISdlResource with core requirements implemented. This class is similar to SdlResourceBas...
Definition TSdlResourceBase.h:16
static constexpr ESdlTypeCategory CATEGORY
Static category information of the resource. This static category information is required by ISdlReso...
Definition TSdlResourceBase.h:22
ESdlTypeCategory getDynamicCategory() const override
Definition TSdlResourceBase.h:39
TSdlResourceBase & operator=(const TSdlResourceBase &rhs)=default
TSdlResourceBase(TSdlResourceBase &&other)=default
TSdlResourceBase(const TSdlResourceBase &other)=default
TSdlResourceBase()=default
The root for all renderer implementations.
Definition EEngineProject.h:6
ESdlTypeCategory
Definition ESdlTypeCategory.h:15