GlDeviceMemory

Undocumented in source.

Constructors

this
this(uint typeIndex, MemProps props, size_t size)
Undocumented in source.

Members

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
mapRaw
void* mapRaw(size_t offset, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
rcLockShared
shared(typeof(this)) rcLockShared()
Undocumented in source. Be warned that the author may not have intended to support it.
releaseShared
shared(typeof(this)) releaseShared(Flag!"disposeOnZero" disposeOnZero)
Undocumented in source. Be warned that the author may not have intended to support it.
retainShared
shared(typeof(this)) retainShared()
Undocumented in source. Be warned that the author may not have intended to support it.
unmapRaw
void unmapRaw()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

props
MemProps props [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
refCountShared
size_t refCountShared [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
size_t size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
typeIndex
uint typeIndex [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From DeviceMemory

typeIndex
uint typeIndex [@property getter]
Undocumented in source.
props
MemProps props [@property getter]
Undocumented in source.
size
size_t size [@property getter]
Undocumented in source.
mapRaw
void* mapRaw(size_t offset, size_t size)

Map device memory to host visible memory.

unmapRaw
void unmapRaw()
Undocumented in source.
map
auto map(size_t offset, size_t sz)

Produce a scoped memory map. The the memory will be unmapped when the object goes out of scope. The is an untyped memory holder. In order to access the memory, call view with the right type parameter.

Meta