Photon Engine 2.0.0-beta
A physically based renderer.
|
Data that SDL output process can rely on. More...
#include <SdlOutputContext.h>
Public Member Functions | |
SdlOutputContext () | |
SdlOutputContext (const Path *workingDirectory, const SdlClass *srcClass=nullptr, const SdlStruct *srcStruct=nullptr) | |
SdlOutputContext (const SdlDependencyResolver *dependencyResolver, SdlNamedOutputClauses *namedOutputClauses, const Path *workingDirectory, const SdlClass *srcClass=nullptr, const SdlStruct *srcStruct=nullptr) | |
const SdlDependencyResolver * | getDependencyResolver () const |
SdlNamedOutputClauses * | getNamedOutputClauses () const |
std::string_view | getResourceName (const ISdlResource *resource) const |
Public Member Functions inherited from ph::SdlIOContext | |
std::string | genPrettySrcInfo () const |
const Path & | getWorkingDirectory () const |
Get working directory of the current I/O session. Do not treat this as the classical definition of working directory (for a process). A SDL working directory may be different for each I/O session, and different to the working directory of the current process. | |
const SdlClass * | getSrcClass () const |
The SDL class that is involved in the I/O process. | |
const SdlStruct * | getSrcStruct () const |
void | setSrcClass (const SdlClass *srcClass) |
void | setSrcStruct (const SdlStruct *srcStruct) |
Additional Inherited Members | |
Protected Member Functions inherited from ph::SdlIOContext | |
SdlIOContext () | |
SdlIOContext (const Path *workingDirectory, const SdlClass *srcClass=nullptr, const SdlStruct *srcStruct=nullptr) | |
SdlIOContext (const SdlIOContext &other)=default | |
SdlIOContext (SdlIOContext &&other)=default | |
SdlIOContext & | operator= (const SdlIOContext &rhs)=default |
SdlIOContext & | operator= (SdlIOContext &&rhs)=default |
Data that SDL output process can rely on.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
std::string_view ph::SdlOutputContext::getResourceName | ( | const ISdlResource * | resource | ) | const |
resource
is null or no name information is available.