Trait ExtDebugReportExtension

Source
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ยง

Source

const METADATA: Extension = EXT_DEBUG_REPORT_EXTENSION

๐Ÿ‘ŽDeprecated: deprecated in favor of VK_EXT_debug_utils

The metadata for this extension.

Provided Methodsยง

Source

unsafe fn create_debug_report_callback_ext( &self, create_info: &DebugReportCallbackCreateInfoEXT, allocator: Option<&AllocationCallbacks>, ) -> VkResult<DebugReportCallbackEXT>

๐Ÿ‘ŽDeprecated: deprecated in favor of VK_EXT_debug_utils
Source

unsafe 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
Source

unsafe fn destroy_debug_report_callback_ext( &self, callback: DebugReportCallbackEXT, allocator: Option<&AllocationCallbacks>, )

๐Ÿ‘ŽDeprecated: deprecated in favor of 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.

Implementorsยง