[−][src]Struct bedrock::DebugReportCallbackBuilder
Methods
impl<'i> DebugReportCallbackBuilder<'i>
[src]
pub fn new(
instance: &'i Instance,
callback: PFN_vkDebugReportCallbackEXT
) -> Self
[src]
instance: &'i Instance,
callback: PFN_vkDebugReportCallbackEXT
) -> Self
Create a builder object of DebugReportCallbackBuilder from instance
, called back to callback
pub fn report_error(&mut self) -> &mut Self
[src]
Reports an error that may cause undefined results, including an application crash
pub fn report_warning(&mut self) -> &mut Self
[src]
Reports an unexpected use. e.g. Not destroying objects prior to destroying the containing object or potential inconsistencies between descriptor set layout and the layout in the corresponding shader, etc
pub fn report_performance_warning(&mut self) -> &mut Self
[src]
Reports a potentially non-optimal use of Vulkan. e.g. using vkCmdClearColorImage
when a RenderPass load_op would have worked
pub fn report_information(&mut self) -> &mut Self
[src]
Reports an informational message such as resource details that may be handy when debugging an application
pub fn report_debug_information(&mut self) -> &mut Self
[src]
Reports diagnostic information from the loader and layers
pub fn create(&mut self) -> Result<DebugReportCallback>
[src]
Register a debug report callback
Failures
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORY
Auto Trait Implementations
impl<'i> !RefUnwindSafe for DebugReportCallbackBuilder<'i>
impl<'i> !Send for DebugReportCallbackBuilder<'i>
impl<'i> !Sync for DebugReportCallbackBuilder<'i>
impl<'i> Unpin for DebugReportCallbackBuilder<'i>
impl<'i> !UnwindSafe for DebugReportCallbackBuilder<'i>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,