[][src]Trait wyzoid::low::vkmem::InstanceV1_0

pub trait InstanceV1_0 {
    type Device;
    fn handle(&self) -> Instance;
fn fp_v1_0(&self) -> &InstanceFnV1_0;
unsafe fn create_device(
        &self,
        physical_device: PhysicalDevice,
        create_info: &DeviceCreateInfo,
        allocation_callbacks: Option<&AllocationCallbacks>
    ) -> Result<Self::Device, Result>; unsafe fn get_device_proc_addr(
        &self,
        device: Device,
        p_name: *const i8
    ) -> Option<unsafe extern "system" fn() -> c_void> { ... }
unsafe fn destroy_instance(
        &self,
        allocation_callbacks: Option<&AllocationCallbacks>
    ) { ... }
unsafe fn get_physical_device_format_properties(
        &self,
        physical_device: PhysicalDevice,
        format: Format
    ) -> FormatProperties { ... }
unsafe fn get_physical_device_image_format_properties(
        &self,
        physical_device: PhysicalDevice,
        format: Format,
        typ: ImageType,
        tiling: ImageTiling,
        usage: ImageUsageFlags,
        flags: ImageCreateFlags
    ) -> Result<ImageFormatProperties, Result> { ... }
unsafe fn get_physical_device_memory_properties(
        &self,
        physical_device: PhysicalDevice
    ) -> PhysicalDeviceMemoryProperties { ... }
unsafe fn get_physical_device_properties(
        &self,
        physical_device: PhysicalDevice
    ) -> PhysicalDeviceProperties { ... }
unsafe fn get_physical_device_queue_family_properties(
        &self,
        physical_device: PhysicalDevice
    ) -> Vec<QueueFamilyProperties> { ... }
unsafe fn get_physical_device_features(
        &self,
        physical_device: PhysicalDevice
    ) -> PhysicalDeviceFeatures { ... }
unsafe fn enumerate_physical_devices(
        &self
    ) -> Result<Vec<PhysicalDevice>, Result> { ... }
unsafe fn enumerate_device_extension_properties(
        &self,
        device: PhysicalDevice
    ) -> Result<Vec<ExtensionProperties>, Result> { ... } }

Associated Types

type Device

Loading content...

Required methods

fn handle(&self) -> Instance

fn fp_v1_0(&self) -> &InstanceFnV1_0

unsafe fn create_device(
    &self,
    physical_device: PhysicalDevice,
    create_info: &DeviceCreateInfo,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Device, Result>

Loading content...

Provided methods

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

unsafe fn destroy_instance(
    &self,
    allocation_callbacks: Option<&AllocationCallbacks>
)

unsafe fn get_physical_device_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format
) -> FormatProperties

unsafe fn get_physical_device_image_format_properties(
    &self,
    physical_device: PhysicalDevice,
    format: Format,
    typ: ImageType,
    tiling: ImageTiling,
    usage: ImageUsageFlags,
    flags: ImageCreateFlags
) -> Result<ImageFormatProperties, Result>

unsafe fn get_physical_device_memory_properties(
    &self,
    physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties

unsafe fn get_physical_device_properties(
    &self,
    physical_device: PhysicalDevice
) -> PhysicalDeviceProperties

unsafe fn get_physical_device_queue_family_properties(
    &self,
    physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>

unsafe fn get_physical_device_features(
    &self,
    physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures

unsafe fn enumerate_physical_devices(
    &self
) -> Result<Vec<PhysicalDevice>, Result>

unsafe fn enumerate_device_extension_properties(
    &self,
    device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result>

Loading content...

Implementations on Foreign Types

impl InstanceV1_0 for Instance[src]

Loading content...

Implementors

Loading content...