Skip to main content

PFN_vkGetAndroidHardwareBufferPropertiesANDROID

Type Alias PFN_vkGetAndroidHardwareBufferPropertiesANDROID 

Source
pub type PFN_vkGetAndroidHardwareBufferPropertiesANDROID = Option<unsafe extern "system" fn(device: Device, buffer: *const c_void, p_properties: *mut AndroidHardwareBufferPropertiesANDROID) -> Result>;
Expand description

vkGetAndroidHardwareBufferPropertiesANDROID Provided by VK_ANDROID_external_memory_android_hardware_buffer.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkGetAndroidHardwareBufferPropertiesANDROID {
    None,
    Some(unsafe extern "system" fn(Device, *const c_void, *mut AndroidHardwareBufferPropertiesANDROID) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, *const c_void, *mut AndroidHardwareBufferPropertiesANDROID) -> Result)

Some value of type T.