Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor::DataHolderT< Data, Index > Class Template Reference

Some data holder. More...

#include <DataHolder.hpp>

Inheritance diagram for castor::DataHolderT< Data, Index >:
Inheritance graph
[legend]

Public Member Functions

 DataHolderT () noexcept=default
 
 DataHolderT (Data d) noexcept
 
Data & getData ()
 
Data const & getData () const
 
void setData (Data data)
 

Detailed Description

template<class Data, size_t Index>
class castor::DataHolderT< Data, Index >

Some data holder.

Remarks
Used to enforce data initialisation order through ineritance

Constructor & Destructor Documentation

◆ DataHolderT() [1/2]

template<class Data , size_t Index>
castor::DataHolderT< Data, Index >::DataHolderT ( )
defaultnoexcept

◆ DataHolderT() [2/2]

template<class Data , size_t Index>
castor::DataHolderT< Data, Index >::DataHolderT ( Data d)
inlineexplicitnoexcept

Member Function Documentation

◆ getData() [1/2]

template<class Data , size_t Index>
Data & castor::DataHolderT< Data, Index >::getData ( )
inline

Referenced by castor3d::RenderNodesPass::getCuller(), and castor3d::RenderNodesPass::getRenderQueue().

Here is the caller graph for this function:

◆ getData() [2/2]

template<class Data , size_t Index>
Data const & castor::DataHolderT< Data, Index >::getData ( ) const
inline

◆ setData()

template<class Data , size_t Index>
void castor::DataHolderT< Data, Index >::setData ( Data data)
inline

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