pub unsafe trait DeviceOwnedVulkanObject {
// Required method
fn set_debug_utils_object_name(
&self,
object_name: Option<&str>,
) -> Result<(), VulkanError>;
}Expand description
Implemented on objects that implement both DeviceOwned and VulkanObject.
Required Methods§
Sourcefn set_debug_utils_object_name(
&self,
object_name: Option<&str>,
) -> Result<(), VulkanError>
fn set_debug_utils_object_name( &self, object_name: Option<&str>, ) -> Result<(), VulkanError>
Assigns a human-readable name to the object for debugging purposes.
If object_name is None, a previously set object name is removed.