[][src]Struct ash::vk::InstanceFnV1_0

pub struct InstanceFnV1_0 {
    pub destroy_instance: extern "system" fn(instance: Instance, p_allocator: *const AllocationCallbacks) -> c_void,
    pub enumerate_physical_devices: extern "system" fn(instance: Instance, p_physical_device_count: *mut u32, p_physical_devices: *mut PhysicalDevice) -> Result,
    pub get_physical_device_features: extern "system" fn(physical_device: PhysicalDevice, p_features: *mut PhysicalDeviceFeatures) -> c_void,
    pub get_physical_device_format_properties: extern "system" fn(physical_device: PhysicalDevice, format: Format, p_format_properties: *mut FormatProperties) -> c_void,
    pub get_physical_device_image_format_properties: extern "system" fn(physical_device: PhysicalDevice, format: Format, ty: ImageType, tiling: ImageTiling, usage: ImageUsageFlags, flags: ImageCreateFlags, p_image_format_properties: *mut ImageFormatProperties) -> Result,
    pub get_physical_device_properties: extern "system" fn(physical_device: PhysicalDevice, p_properties: *mut PhysicalDeviceProperties) -> c_void,
    pub get_physical_device_queue_family_properties: extern "system" fn(physical_device: PhysicalDevice, p_queue_family_property_count: *mut u32, p_queue_family_properties: *mut QueueFamilyProperties) -> c_void,
    pub get_physical_device_memory_properties: extern "system" fn(physical_device: PhysicalDevice, p_memory_properties: *mut PhysicalDeviceMemoryProperties) -> c_void,
    pub get_device_proc_addr: extern "system" fn(device: Device, p_name: *const c_char) -> PFN_vkVoidFunction,
    pub create_device: extern "system" fn(physical_device: PhysicalDevice, p_create_info: *const DeviceCreateInfo, p_allocator: *const AllocationCallbacks, p_device: *mut Device) -> Result,
    pub enumerate_device_extension_properties: extern "system" fn(physical_device: PhysicalDevice, p_layer_name: *const c_char, p_property_count: *mut u32, p_properties: *mut ExtensionProperties) -> Result,
    pub enumerate_device_layer_properties: extern "system" fn(physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut LayerProperties) -> Result,
    pub get_physical_device_sparse_image_format_properties: extern "system" fn(physical_device: PhysicalDevice, format: Format, ty: ImageType, samples: SampleCountFlags, usage: ImageUsageFlags, tiling: ImageTiling, p_property_count: *mut u32, p_properties: *mut SparseImageFormatProperties) -> c_void,
}

Fields

destroy_instance: extern "system" fn(instance: Instance, p_allocator: *const AllocationCallbacks) -> c_voidenumerate_physical_devices: extern "system" fn(instance: Instance, p_physical_device_count: *mut u32, p_physical_devices: *mut PhysicalDevice) -> Resultget_physical_device_features: extern "system" fn(physical_device: PhysicalDevice, p_features: *mut PhysicalDeviceFeatures) -> c_voidget_physical_device_format_properties: extern "system" fn(physical_device: PhysicalDevice, format: Format, p_format_properties: *mut FormatProperties) -> c_voidget_physical_device_image_format_properties: extern "system" fn(physical_device: PhysicalDevice, format: Format, ty: ImageType, tiling: ImageTiling, usage: ImageUsageFlags, flags: ImageCreateFlags, p_image_format_properties: *mut ImageFormatProperties) -> Resultget_physical_device_properties: extern "system" fn(physical_device: PhysicalDevice, p_properties: *mut PhysicalDeviceProperties) -> c_voidget_physical_device_queue_family_properties: extern "system" fn(physical_device: PhysicalDevice, p_queue_family_property_count: *mut u32, p_queue_family_properties: *mut QueueFamilyProperties) -> c_voidget_physical_device_memory_properties: extern "system" fn(physical_device: PhysicalDevice, p_memory_properties: *mut PhysicalDeviceMemoryProperties) -> c_voidget_device_proc_addr: extern "system" fn(device: Device, p_name: *const c_char) -> PFN_vkVoidFunctioncreate_device: extern "system" fn(physical_device: PhysicalDevice, p_create_info: *const DeviceCreateInfo, p_allocator: *const AllocationCallbacks, p_device: *mut Device) -> Resultenumerate_device_extension_properties: extern "system" fn(physical_device: PhysicalDevice, p_layer_name: *const c_char, p_property_count: *mut u32, p_properties: *mut ExtensionProperties) -> Resultenumerate_device_layer_properties: extern "system" fn(physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut LayerProperties) -> Resultget_physical_device_sparse_image_format_properties: extern "system" fn(physical_device: PhysicalDevice, format: Format, ty: ImageType, samples: SampleCountFlags, usage: ImageUsageFlags, tiling: ImageTiling, p_property_count: *mut u32, p_properties: *mut SparseImageFormatProperties) -> c_void

Implementations

impl InstanceFnV1_0[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn destroy_instance(
    &self,
    instance: Instance,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn enumerate_physical_devices(
    &self,
    instance: Instance,
    p_physical_device_count: *mut u32,
    p_physical_devices: *mut PhysicalDevice
) -> Result
[src]

pub unsafe fn get_physical_device_features(
    &self,
    physical_device: PhysicalDevice,
    p_features: *mut PhysicalDeviceFeatures
) -> c_void
[src]

pub unsafe fn get_physical_device_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    p_format_properties: *mut FormatProperties
) -> c_void
[src]

pub unsafe fn get_physical_device_image_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    ty: ImageType,
    tiling: ImageTiling,
    usage: ImageUsageFlags,
    flags: ImageCreateFlags,
    p_image_format_properties: *mut ImageFormatProperties
) -> Result
[src]

pub unsafe fn get_physical_device_properties(
    &self,
    physical_device: PhysicalDevice,
    p_properties: *mut PhysicalDeviceProperties
) -> c_void
[src]

pub unsafe fn get_physical_device_queue_family_properties(
    &self,
    physical_device: PhysicalDevice,
    p_queue_family_property_count: *mut u32,
    p_queue_family_properties: *mut QueueFamilyProperties
) -> c_void
[src]

pub unsafe fn get_physical_device_memory_properties(
    &self,
    physical_device: PhysicalDevice,
    p_memory_properties: *mut PhysicalDeviceMemoryProperties
) -> c_void
[src]

pub unsafe fn get_device_proc_addr(
    &self,
    device: Device,
    p_name: *const c_char
) -> PFN_vkVoidFunction
[src]

pub unsafe fn create_device(
    &self,
    physical_device: PhysicalDevice,
    p_create_info: *const DeviceCreateInfo,
    p_allocator: *const AllocationCallbacks,
    p_device: *mut Device
) -> Result
[src]

pub unsafe fn enumerate_device_extension_properties(
    &self,
    physical_device: PhysicalDevice,
    p_layer_name: *const c_char,
    p_property_count: *mut u32,
    p_properties: *mut ExtensionProperties
) -> Result
[src]

pub unsafe fn enumerate_device_layer_properties(
    &self,
    physical_device: PhysicalDevice,
    p_property_count: *mut u32,
    p_properties: *mut LayerProperties
) -> Result
[src]

pub unsafe fn get_physical_device_sparse_image_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    ty: ImageType,
    samples: SampleCountFlags,
    usage: ImageUsageFlags,
    tiling: ImageTiling,
    p_property_count: *mut u32,
    p_properties: *mut SparseImageFormatProperties
) -> c_void
[src]

Trait Implementations

impl Clone for InstanceFnV1_0[src]

impl Send for InstanceFnV1_0[src]

impl Sync for InstanceFnV1_0[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.