Struct voodoo::Buffer
[−]
[src]
pub struct Buffer { /* fields omitted */ }
Methods
impl Buffer
[src]
fn builder<'b>() -> BufferBuilder<'b>
[src]
Returns a new BufferBuilder
.
fn handle(&self) -> BufferHandle
[src]
Returns this object's handle.
fn memory_requirements(&self) -> &MemoryRequirements
[src]
Returns this buffer's memory requirements.
fn bind_memory(&self, memory: &DeviceMemory, offset: DeviceSize) -> VdResult<()>
[src]
Binds this buffer to device memory. offset
is the start offset of the
region of memory which is to be bound. The number of bytes returned in
the VkMemoryRequirements::size member in memory, starting from
memoryOffset bytes, will be bound to the specified buffer.
fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
Trait Implementations
impl Debug for Buffer
[src]
impl Clone for Buffer
[src]
fn clone(&self) -> Buffer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more