View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

texture1d_impl.h
Go to the documentation of this file.
1#ifndef TEXTURE_IMPL_H
2#define TEXTURE_IMPL_H
3
4namespace vistle {
5
6template<class Archive>
7void Texture1D::Data::serialize(Archive &ar)
8{
9 ar &V_NAME(ar, "base_vec", serialize_base<Base::Data>(ar, *this));
10 ar &V_NAME(ar, "pixels", pixels);
11 ar &V_NAME(ar, "min", range[0]);
12 ar &V_NAME(ar, "max", range[1]);
13}
14
15} // namespace vistle
16#endif
#define V_NAME(ar, name, obj)
Definition: archives_config.h:441
void serialize(Archive &ar, vistle::Vector1 &v, const unsigned int version)
Definition: vector.h:105
Definition: allobjects.cpp:30