[][src]Struct bedrock::DebugReportCallbackBuilder

pub struct DebugReportCallbackBuilder<'i> { /* fields omitted */ }

Methods

impl<'i> DebugReportCallbackBuilder<'i>[src]

pub fn new(
    instance: &'i Instance,
    callback: PFN_vkDebugReportCallbackEXT
) -> Self
[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.