Photon Engine 2.0.0-beta
A physically based renderer.
|
A convenient ISdlResource with some core requirements implemented. This class does not provide static/dynamic category information. The work is left for derived classes. See ISdlResource for more implementation requirements. More...
#include <SdlResourceBase.h>
Public Member Functions | |
ESdlTypeCategory | getDynamicCategory () const override=0 |
SdlResourceId | getId () const override |
Get the unique ID of this resource. The returned ID is guaranteed to be unique in the current process. Newly created resource cannot have an ID that has been used by a previous resource, even if the previous resource has ended its life cycle. See SdlResourceId.h for some utilities. | |
Public Member Functions inherited from ph::ISdlResource | |
ISdlResource (const ISdlResource &other)=default | |
ISdlResource (ISdlResource &&other)=default | |
virtual | ~ISdlResource ()=default |
ISdlResource & | operator= (const ISdlResource &rhs)=default |
ISdlResource & | operator= (ISdlResource &&rhs)=default |
virtual const SdlClass * | getDynamicSdlClass () const |
Get runtime SDL class of the resource. | |
virtual bool | isInlinable () const |
Protected Member Functions | |
SdlResourceBase () | |
SdlResourceBase (const SdlResourceBase &other) | |
SdlResourceBase (SdlResourceBase &&other)=default | |
SdlResourceBase & | operator= (const SdlResourceBase &rhs) |
SdlResourceBase & | operator= (SdlResourceBase &&rhs)=default |
Protected Member Functions inherited from ph::ISdlResource | |
ISdlResource ()=default | |
A convenient ISdlResource with some core requirements implemented. This class does not provide static/dynamic category information. The work is left for derived classes. See ISdlResource for more implementation requirements.
|
inlineprotected |
|
inlineprotected |
|
protecteddefault |
|
overridepure virtual |
Implements ph::ISdlResource.
Implemented in ph::CoreSdlResource, ph::Observer, ph::SampleSource, ph::TSdlResourceBase< TYPE_CATEGORY >, ph::TSdlResourceBase< ESdlTypeCategory::Ref_Actor >, ph::TSdlResourceBase< ESdlTypeCategory::Ref_Geometry >, ph::TSdlResourceBase< ESdlTypeCategory::Ref_Image >, ph::TSdlResourceBase< ESdlTypeCategory::Ref_Material >, ph::TSdlResourceBase< ESdlTypeCategory::Ref_Motion >, ph::TSdlResourceBase< ESdlTypeCategory::Ref_Object >, ph::TSdlResourceBase< ESdlTypeCategory::Ref_Option >, and ph::Visualizer.
|
inlineoverridevirtual |
Get the unique ID of this resource. The returned ID is guaranteed to be unique in the current process. Newly created resource cannot have an ID that has been used by a previous resource, even if the previous resource has ended its life cycle. See SdlResourceId.h
for some utilities.
Implements ph::ISdlResource.
|
inlineprotected |
|
protecteddefault |