Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TSdlVector3Array< Owner, Element, SdlValueType > Class Template Reference

#include <TSdlVector3Array.h>

Inheritance diagram for ph::TSdlVector3Array< Owner, Element, SdlValueType >:

Public Member Functions

template<typename ValueType >
 TSdlVector3Array (std::string valueName, ValueType Owner::*const valuePtr)
 
std::string valueAsString (const std::vector< math::TVector3< Element > > &vec3Array) const override
 
SdlNativeData ownedNativeData (Owner &owner) const override
 

Protected Member Functions

void loadFromSdl (Owner &owner, const SdlInputClause &clause, const SdlInputContext &ctx) const override
 
void saveToSdl (const Owner &owner, SdlOutputClause &out_clause, const SdlOutputContext &ctx) const override
 

Constructor & Destructor Documentation

◆ TSdlVector3Array()

template<typename Owner , typename Element = real, typename SdlValueType = TSdlValue<std::vector<math::TVector3<Element>>, Owner>>
template<typename ValueType >
ph::TSdlVector3Array< Owner, Element, SdlValueType >::TSdlVector3Array ( std::string valueName,
ValueType Owner::*const valuePtr )
inline

Member Function Documentation

◆ loadFromSdl()

template<typename Owner , typename Element = real, typename SdlValueType = TSdlValue<std::vector<math::TVector3<Element>>, Owner>>
void ph::TSdlVector3Array< Owner, Element, SdlValueType >::loadFromSdl ( Owner & owner,
const SdlInputClause & clause,
const SdlInputContext & ctx ) const
inlineoverrideprotected

◆ ownedNativeData()

template<typename Owner , typename Element = real, typename SdlValueType = TSdlValue<std::vector<math::TVector3<Element>>, Owner>>
SdlNativeData ph::TSdlVector3Array< Owner, Element, SdlValueType >::ownedNativeData ( Owner & owner) const
inlineoverride

◆ saveToSdl()

template<typename Owner , typename Element = real, typename SdlValueType = TSdlValue<std::vector<math::TVector3<Element>>, Owner>>
void ph::TSdlVector3Array< Owner, Element, SdlValueType >::saveToSdl ( const Owner & owner,
SdlOutputClause & out_clause,
const SdlOutputContext & ctx ) const
inlineoverrideprotected

◆ valueAsString()

template<typename Owner , typename Element = real, typename SdlValueType = TSdlValue<std::vector<math::TVector3<Element>>, Owner>>
std::string ph::TSdlVector3Array< Owner, Element, SdlValueType >::valueAsString ( const std::vector< math::TVector3< Element > > & vec3Array) const
inlineoverride

The documentation for this class was generated from the following file: