GlDeviceMemory

Undocumented in source.

Constructors

this
this(Device dev, 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.
unmapRaw
void unmapRaw()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

device
Device device [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
props
MemProps props [@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

device
Device device [@property getter]

Get the parent device

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