Skip to main content

PFN_vkGetNativeBufferPropertiesOHOS

Type Alias PFN_vkGetNativeBufferPropertiesOHOS 

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

vkGetNativeBufferPropertiesOHOS Provided by VK_OHOS_external_memory.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.