Struct HostMacroProperty_MetaData

Struct Documentation

struct flamegpu::HostMacroProperty_MetaData

Public Functions

inline HostMacroProperty_MetaData(void *_d_base_ptr, const std::array<unsigned int, 4> &_dims, size_t _type_size, bool _device_read_flag, const std::string &name)

Constructor

inline ~HostMacroProperty_MetaData()
inline void download()

Download data

inline void upload()

Upload data

Public Members

char *h_base_ptr
char *d_base_ptr
std::array<unsigned int, 4> dims
unsigned int elements
size_t type_size
bool has_changed
bool device_read_flag
std::string property_name