Function enumerate_layer_properties_alloc

Source
pub fn enumerate_layer_properties_alloc() -> Result<Vec<VkLayerProperties>>
Available on crate features Implements and alloc only.
Expand description

Returns up to all of global layer properties

ยงFailures

On failure, this command returns

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY