Struct pilka_dyn::ash::vk::InstanceFnV1_0[]

pub struct InstanceFnV1_0 {
    pub destroy_instance: extern "system" fn(Instance, *const AllocationCallbacks) -> c_void,
    pub enumerate_physical_devices: extern "system" fn(Instance, *mut u32, *mut PhysicalDevice) -> Result,
    pub get_physical_device_features: extern "system" fn(PhysicalDevice, *mut PhysicalDeviceFeatures) -> c_void,
    pub get_physical_device_format_properties: extern "system" fn(PhysicalDevice, Format, *mut FormatProperties) -> c_void,
    pub get_physical_device_image_format_properties: extern "system" fn(PhysicalDevice, Format, ImageType, ImageTiling, ImageUsageFlags, ImageCreateFlags, *mut ImageFormatProperties) -> Result,
    pub get_physical_device_properties: extern "system" fn(PhysicalDevice, *mut PhysicalDeviceProperties) -> c_void,
    pub get_physical_device_queue_family_properties: extern "system" fn(PhysicalDevice, *mut u32, *mut QueueFamilyProperties) -> c_void,
    pub get_physical_device_memory_properties: extern "system" fn(PhysicalDevice, *mut PhysicalDeviceMemoryProperties) -> c_void,
    pub get_device_proc_addr: extern "system" fn(Device, *const i8) -> Option<unsafe extern "system" fn() -> c_void>,
    pub create_device: extern "system" fn(PhysicalDevice, *const DeviceCreateInfo, *const AllocationCallbacks, *mut Device) -> Result,
    pub enumerate_device_extension_properties: extern "system" fn(PhysicalDevice, *const i8, *mut u32, *mut ExtensionProperties) -> Result,
    pub enumerate_device_layer_properties: extern "system" fn(PhysicalDevice, *mut u32, *mut LayerProperties) -> Result,
    pub get_physical_device_sparse_image_format_properties: extern "system" fn(PhysicalDevice, Format, ImageType, SampleCountFlags, ImageUsageFlags, ImageTiling, *mut u32, *mut SparseImageFormatProperties) -> c_void,
}

Fields

destroy_instance: extern "system" fn(Instance, *const AllocationCallbacks) -> c_voidenumerate_physical_devices: extern "system" fn(Instance, *mut u32, *mut PhysicalDevice) -> Resultget_physical_device_features: extern "system" fn(PhysicalDevice, *mut PhysicalDeviceFeatures) -> c_voidget_physical_device_format_properties: extern "system" fn(PhysicalDevice, Format, *mut FormatProperties) -> c_voidget_physical_device_image_format_properties: extern "system" fn(PhysicalDevice, Format, ImageType, ImageTiling, ImageUsageFlags, ImageCreateFlags, *mut ImageFormatProperties) -> Resultget_physical_device_properties: extern "system" fn(PhysicalDevice, *mut PhysicalDeviceProperties) -> c_voidget_physical_device_queue_family_properties: extern "system" fn(PhysicalDevice, *mut u32, *mut QueueFamilyProperties) -> c_voidget_physical_device_memory_properties: extern "system" fn(PhysicalDevice, *mut PhysicalDeviceMemoryProperties) -> c_voidget_device_proc_addr: extern "system" fn(Device, *const i8) -> Option<unsafe extern "system" fn() -> c_void>create_device: extern "system" fn(PhysicalDevice, *const DeviceCreateInfo, *const AllocationCallbacks, *mut Device) -> Resultenumerate_device_extension_properties: extern "system" fn(PhysicalDevice, *const i8, *mut u32, *mut ExtensionProperties) -> Resultenumerate_device_layer_properties: extern "system" fn(PhysicalDevice, *mut u32, *mut LayerProperties) -> Resultget_physical_device_sparse_image_format_properties: extern "system" fn(PhysicalDevice, Format, ImageType, SampleCountFlags, ImageUsageFlags, ImageTiling, *mut u32, *mut SparseImageFormatProperties) -> c_void

Implementations

impl InstanceFnV1_0

pub fn load<F>(_f: F) -> InstanceFnV1_0 where
    F: FnMut(&CStr) -> *const c_void

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

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

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

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

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

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

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

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

pub unsafe fn get_device_proc_addr(
    &self,
    device: Device,
    p_name: *const i8
) -> Option<unsafe extern "system" fn() -> c_void>

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

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

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

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

Trait Implementations

impl Clone for InstanceFnV1_0

impl Send for InstanceFnV1_0

impl Sync for InstanceFnV1_0

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.