Struct EnvironmentManager::DefragProp

Nested Relationships

This struct is a nested type of Class EnvironmentManager.

Struct Documentation

struct EnvironmentManager::DefragProp

This structure is a clone of EnvProp However, instead of offset (which points to an offset into hc_buffer) data is available, which points to host memory

Public Functions

inline explicit DefragProp(const EnvProp &ep)

Note

ep.offset is converted to a host pointer by adding to hc_buffer

Parameters

ep – Environment property to clone

inline DefragProp(void *_data, const size_t &_length, const bool &_isConst, const size_type &_elements, const std::type_index &_type, const ptrdiff_t &_rtc_offset = 0)
Parameters
  • _data – Pointer to the data in host memory

  • _length – Length of associated storage

  • _isConst – Is the stored data constant

  • _elements – How many elements does the stored data contain (1 if not array)

  • _type – Type of propert (from typeid())

  • _rtc_offset – Offset into the instances rtc cache, this can be skipped if the relevant rtc cache has not yet been built

Public Members

void *data
size_t length
bool isConst
size_type elements
const std::type_index type
ptrdiff_t rtc_offset