pub struct DescriptorUpdateTemplateObject<Device: Device>(/* private fields */);
Available on crate feature
VK_KHR_descriptor_update_template
only.Implementations§
Source§impl<Device: Device> DescriptorUpdateTemplateObject<Device>
impl<Device: Device> DescriptorUpdateTemplateObject<Device>
Sourcepub const unsafe fn manage(
handle: VkDescriptorUpdateTemplateKHR,
parent: Device,
) -> Self
pub const unsafe fn manage( handle: VkDescriptorUpdateTemplateKHR, parent: Device, ) -> Self
Constructs from raw values
§Safety
the resource must be created from the device and not freed anywhere
Sourcepub const fn unmanage(self) -> (VkDescriptorUpdateTemplateKHR, Device)
pub const fn unmanage(self) -> (VkDescriptorUpdateTemplateKHR, Device)
Purges the construct (Drop will not be called for this resource)
Source§impl<Device: Device + Clone> DescriptorUpdateTemplateObject<&Device>
impl<Device: Device + Clone> DescriptorUpdateTemplateObject<&Device>
Sourcepub fn clone_parent(self) -> DescriptorUpdateTemplateObject<Device>
pub fn clone_parent(self) -> DescriptorUpdateTemplateObject<Device>
Owning parent object by cloning it.
Trait Implementations§
Source§impl<Device: Device> DescriptorUpdateTemplate for DescriptorUpdateTemplateObject<Device>
impl<Device: Device> DescriptorUpdateTemplate for DescriptorUpdateTemplateObject<Device>
Source§fn update_set<T>(&self, set: VkDescriptorSet, data: &T)
fn update_set<T>(&self, set: VkDescriptorSet, data: &T)
Available on crate feature
Implements
only.Source§impl<Device: Device> DeviceChild for DescriptorUpdateTemplateObject<Device>
impl<Device: Device> DeviceChild for DescriptorUpdateTemplateObject<Device>
Source§type ConcreteDevice = Device
type ConcreteDevice = Device
A concrete type of the parent device object.
Source§fn device(&self) -> &Self::ConcreteDevice
fn device(&self) -> &Self::ConcreteDevice
Retrieve a reference to a device object that creates this object
Source§impl<Device: Device> DeviceChildHandle for DescriptorUpdateTemplateObject<Device>
impl<Device: Device> DeviceChildHandle for DescriptorUpdateTemplateObject<Device>
Source§fn device_handle(&self) -> VkDevice
fn device_handle(&self) -> VkDevice
Retrieve a reference to a device handle that creates this objecs
Source§impl<Device: Device> Drop for DescriptorUpdateTemplateObject<Device>
Available on crate feature Implements
only.
impl<Device: Device> Drop for DescriptorUpdateTemplateObject<Device>
Available on crate feature
Implements
only.Source§impl<Device: Device> VkHandle for DescriptorUpdateTemplateObject<Device>
impl<Device: Device> VkHandle for DescriptorUpdateTemplateObject<Device>
type Handle = VkDescriptorUpdateTemplateKHR
Source§fn native_ptr(&self) -> Self::Handle
fn native_ptr(&self) -> Self::Handle
Retrieve an underlying handle
fn as_transparent_ref(&self) -> VkHandleRef<'_, Self::Handle>
Source§impl<Device: Device> VkHandleMut for DescriptorUpdateTemplateObject<Device>
impl<Device: Device> VkHandleMut for DescriptorUpdateTemplateObject<Device>
Source§fn native_ptr_mut(&mut self) -> Self::Handle
fn native_ptr_mut(&mut self) -> Self::Handle
Retrieve an underlying mutable handle
fn as_transparent_ref_mut(&mut self) -> VkHandleRefMut<'_, Self::Handle>
Source§impl<Device: Device> VkObject for DescriptorUpdateTemplateObject<Device>
impl<Device: Device> VkObject for DescriptorUpdateTemplateObject<Device>
const TYPE: VkObjectType = 1_000_085_000i32
Source§fn set_name(&self, name: Option<&CStr>) -> Result<()>where
Self: DeviceChild<ConcreteDevice: InstanceChild<ConcreteInstance: InstanceExtensions>>,
Self::Handle: VkRawHandle,
fn set_name(&self, name: Option<&CStr>) -> Result<()>where
Self: DeviceChild<ConcreteDevice: InstanceChild<ConcreteInstance: InstanceExtensions>>,
Self::Handle: VkRawHandle,
Available on crate features
Implements
and VK_EXT_debug_utils
only.Give a user-friendly name to this object. Read more
impl<Device: Device + Send> Send for DescriptorUpdateTemplateObject<Device>
impl<Device: Device + Sync> Sync for DescriptorUpdateTemplateObject<Device>
Auto Trait Implementations§
impl<Device> Freeze for DescriptorUpdateTemplateObject<Device>where
Device: Freeze,
impl<Device> RefUnwindSafe for DescriptorUpdateTemplateObject<Device>where
Device: RefUnwindSafe,
impl<Device> Unpin for DescriptorUpdateTemplateObject<Device>where
Device: Unpin,
impl<Device> UnwindSafe for DescriptorUpdateTemplateObject<Device>where
Device: UnwindSafe,
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