[][src]Trait ash::version::EntryV1_0

pub trait EntryV1_0 {
    type Instance;
    fn fp_v1_0(&self) -> &EntryFnV1_0;
fn static_fn(&self) -> &StaticFn;
unsafe fn create_instance(
        &self,
        create_info: &InstanceCreateInfo,
        allocation_callbacks: Option<&AllocationCallbacks>
    ) -> Result<Self::Instance, InstanceError>; fn enumerate_instance_layer_properties(
        &self
    ) -> VkResult<Vec<LayerProperties>> { ... }
fn enumerate_instance_extension_properties(
        &self
    ) -> VkResult<Vec<ExtensionProperties>> { ... }
unsafe fn get_instance_proc_addr(
        &self,
        instance: Instance,
        p_name: *const c_char
    ) -> PFN_vkVoidFunction { ... } }

Associated Types

type Instance

Loading content...

Required methods

fn fp_v1_0(&self) -> &EntryFnV1_0

fn static_fn(&self) -> &StaticFn

unsafe fn create_instance(
    &self,
    create_info: &InstanceCreateInfo,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Instance, InstanceError>

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateInstance.html

Safety

In order for the created Instance to be valid for the duration of its usage, the Entry this was called on must be dropped later than the resulting Instance.

Loading content...

Provided methods

fn enumerate_instance_layer_properties(&self) -> VkResult<Vec<LayerProperties>>

fn enumerate_instance_extension_properties(
    &self
) -> VkResult<Vec<ExtensionProperties>>

unsafe fn get_instance_proc_addr(
    &self,
    instance: Instance,
    p_name: *const c_char
) -> PFN_vkVoidFunction

Loading content...

Implementors

impl<L> EntryV1_0 for EntryCustom<L>[src]

type Instance = Instance

unsafe fn create_instance(
    &self,
    create_info: &InstanceCreateInfo,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Instance, InstanceError>
[src]

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateInstance.html

Safety

In order for the created Instance to be valid for the duration of its usage, the Entry this was called on must be dropped later than the resulting Instance.

Loading content...