pub struct Image(/* private fields */);
Expand description
See VkImage
Implementations§
Source§impl Image
impl Image
Sourcepub fn bind_memory(
&self,
memory: DeviceMemory,
offset: u64,
) -> Result<(), Error>
pub fn bind_memory( &self, memory: DeviceMemory, offset: u64, ) -> Result<(), Error>
Sourcepub fn get_memory_requirements(&self) -> MemoryRequirements
pub fn get_memory_requirements(&self) -> MemoryRequirements
Sourcepub fn get_sparse_memory_requirements<B>(&self) -> Bwhere
B: FromIterator<SparseImageMemoryRequirements>,
pub fn get_sparse_memory_requirements<B>(&self) -> Bwhere
B: FromIterator<SparseImageMemoryRequirements>,
Sourcepub fn get_subresource_layout(
&self,
subresource: &ImageSubresource,
) -> SubresourceLayout
pub fn get_subresource_layout( &self, subresource: &ImageSubresource, ) -> SubresourceLayout
Trait Implementations§
Source§impl FromNativeObject for Image
impl FromNativeObject for Image
type Parameters = FromNativeImageParameters
unsafe fn from_native_object( object: Self::NativeVulkanObject, params: Self::Parameters, ) -> Self
Source§impl Ord for Image
impl Ord for Image
Source§impl PartialOrd for Image
impl PartialOrd for Image
Source§impl VulkanObject for Image
impl VulkanObject for Image
type NativeVulkanObject = u64
fn as_native_vulkan_object(&self) -> Self::NativeVulkanObject
fn try_destroy(self) -> Result<(), TryDestroyError<Self>>
impl Eq for Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl !RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl !UnwindSafe for Image
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more