Skip to main content

PFN_vkResetCommandPool

Type Alias PFN_vkResetCommandPool 

Source
pub type PFN_vkResetCommandPool = Option<unsafe extern "system" fn(device: Device, command_pool: CommandPool, flags: CommandPoolResetFlags) -> Result>;
Expand description

vkResetCommandPool Provided by VK_BASE_VERSION_1_0.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

§Thread Safety

  • commandPool must be externally synchronized

Aliased Type§

pub enum PFN_vkResetCommandPool {
    None,
    Some(unsafe extern "system" fn(Device, CommandPool, CommandPoolResetFlagBits) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, CommandPool, CommandPoolResetFlagBits) -> Result)

Some value of type T.