King_DuckZ
1e5f4fd2f0
Deferring the data loading task to lower level classes. test_tiler removed as Tyler won't require the user to derive from it anymore.
18 lines
606 B
C++
18 lines
606 B
C++
namespace dk {
|
|
///--------------------------------------------------------------------------
|
|
///--------------------------------------------------------------------------
|
|
template <size_t D>
|
|
LayerBase<D>::LayerBase (const coords& parSize) :
|
|
m_size(parSize)
|
|
{
|
|
}
|
|
|
|
///--------------------------------------------------------------------------
|
|
///--------------------------------------------------------------------------
|
|
template <typename T, size_t D>
|
|
Layer<T, D>::Layer (const coords& parSize, streamer_type&& parStreamer) :
|
|
LayerBase<D>(parSize),
|
|
m_streamer(std::move(parStreamer))
|
|
{
|
|
}
|
|
}
|