pub trait ExtDebugReportExtension: InstanceV1_0 {
const METADATA: Extension = EXT_DEBUG_REPORT_EXTENSION;
// Provided methods
unsafe fn create_debug_report_callback_ext(
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<DebugReportCallbackEXT> { ... }
unsafe fn debug_report_message_ext(
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: &[u8],
message: &[u8],
) { ... }
unsafe fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>,
) { ... }
}
๐Deprecated: deprecated in favor of
VK_EXT_debug_utils
Expand description
Provided Associated Constantsยง
Provided Methodsยง
Sourceunsafe fn create_debug_report_callback_ext(
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<DebugReportCallbackEXT>
๐Deprecated: deprecated in favor of VK_EXT_debug_utils
unsafe fn create_debug_report_callback_ext( &self, create_info: &DebugReportCallbackCreateInfoEXT, allocator: Option<&AllocationCallbacks>, ) -> VkResult<DebugReportCallbackEXT>
VK_EXT_debug_utils
Sourceunsafe fn debug_report_message_ext(
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: &[u8],
message: &[u8],
)
๐Deprecated: deprecated in favor of VK_EXT_debug_utils
unsafe fn debug_report_message_ext( &self, flags: DebugReportFlagsEXT, object_type: DebugReportObjectTypeEXT, object: u64, location: usize, message_code: i32, layer_prefix: &[u8], message: &[u8], )
VK_EXT_debug_utils
Sourceunsafe fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>,
)
๐Deprecated: deprecated in favor of VK_EXT_debug_utils
unsafe fn destroy_debug_report_callback_ext( &self, callback: DebugReportCallbackEXT, allocator: Option<&AllocationCallbacks>, )
VK_EXT_debug_utils
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.