Struct voodoo::Image
[−]
[src]
pub struct Image { /* fields omitted */ }
Methods
impl Image
[src]
fn builder<'b>() -> ImageBuilder<'b>
[src]
Returns a new ImageBuilder
.
fn handle(&self) -> ImageHandle
[src]
Returns this object's handle.
fn memory_requirements(&self) -> &MemoryRequirements
[src]
Returns this image's memory requirements.
fn bind_memory(&self, memory: &DeviceMemory, offset: DeviceSize) -> VdResult<()>
[src]
Binds this image 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 image.
fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
Trait Implementations
impl Debug for Image
[src]
impl Clone for Image
[src]
fn clone(&self) -> Image
[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