Struct voodoo::Buffer [] [src]

pub struct Buffer { /* fields omitted */ }

A buffer.

Destruction

Dropping this Buffer will cause Device::destroy_buffer to be called, automatically releasing any resources associated with it.

Methods

impl Buffer
[src]

[src]

Returns a new BufferBuilder.

[src]

Returns this object's handle.

[src]

Returns this buffer's memory requirements.

[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.

Safety

The caller must ensure that the bound memory is not in use when it is dropped.

[src]

Returns a reference to the associated device.

Trait Implementations

impl Debug for Buffer
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Buffer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'b> Handle for &'b Buffer
[src]

[src]

Auto Trait Implementations

impl Send for Buffer

impl Sync for Buffer