GlBuffer

Undocumented in source.

Constructors

this
this(Device dev, GlShare share, BufferUsage usage, size_t size)
Undocumented in source.

Members

Functions

bindMemory
void bindMemory(DeviceMemory mem, size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
createView
BufferView createView(Format format, size_t offset, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

boundMemory
DeviceMemory boundMemory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
device
Device device [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
memoryRequirements
MemoryRequirements memoryRequirements [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
GLuint name [@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.
usage
BufferUsage usage [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Buffer

device
Device device [@property getter]

Get the parent device

size
size_t size [@property getter]
Undocumented in source.
usage
BufferUsage usage [@property getter]
Undocumented in source.
memoryRequirements
MemoryRequirements memoryRequirements [@property getter]
Undocumented in source.
bindMemory
void bindMemory(DeviceMemory mem, size_t offset)

The buffer keeps a reference to the device memory

boundMemory
DeviceMemory boundMemory [@property getter]
Undocumented in source.
createView
BufferView createView(Format format, size_t offset, size_t size)
Undocumented in source.

Meta