Struct vulkanalia::Entry [−][src]
pub struct Entry { /* fields omitted */ }
Expand description
A Vulkan entry point.
Implementations
Loads a Vulkan entry point using a Vulkan function loader.
Safety
The Loader::load
method will be called on the supplied Loader
implementation to load the entry commands so the safety requirements of
Loader::load
for the Loader
implementation used must be upheld.
Gets the instance-level version of this Vulkan entry point.
pub unsafe fn create_instance(
&self,
info: &InstanceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Instance>
pub unsafe fn create_instance(
&self,
info: &InstanceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Instance>
Creates a Vulkan instance using this Vulkan entry point.
Safety
The Loader::load
method will be called on the supplied Loader
implementation to load the instance commands so the safety requirements
of Loader::load
for the Loader
implementation used must be
upheld.
Trait Implementations
unsafe fn create_instance(
&self,
create_info: &InstanceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Instance>
unsafe fn create_instance(
&self,
create_info: &InstanceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Instance>
unsafe fn enumerate_instance_extension_properties(
&self,
layer_name: Option<&[u8]>
) -> VkResult<Vec<ExtensionProperties>>
unsafe fn enumerate_instance_extension_properties(
&self,
layer_name: Option<&[u8]>
) -> VkResult<Vec<ExtensionProperties>>
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more