pub struct Instance { /* private fields */ }
Implementations
Trait Implementations
sourceimpl InstanceV1_0 for Instance
impl InstanceV1_0 for Instance
type Device = Device
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Device, Result>
fn handle(&self) -> Instance
fn fp_v1_0(&self) -> &InstanceFnV1_0
unsafe fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
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
) -> VkResult<ImageFormatProperties>
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) -> VkResult<Vec<PhysicalDevice>>
unsafe fn enumerate_device_extension_properties(
&self,
device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result>
sourceimpl InstanceV1_1 for Instance
impl InstanceV1_1 for Instance
fn fp_v1_1(&self) -> &InstanceFnV1_1
unsafe fn enumerate_physical_device_groups_len(&self) -> usize
fn enumerate_physical_device_groups(
&self,
out: &mut [PhysicalDeviceGroupProperties]
) -> VkResult<()>
unsafe fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice,
prop: &mut PhysicalDeviceProperties2
)
unsafe fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format,
out: &mut FormatProperties2
)
unsafe fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceImageFormatInfo2,
image_format_prop: &mut ImageFormatProperties2
) -> VkResult<()>
unsafe fn get_physical_device_queue_family_properties2_len(
&self,
physical_device: PhysicalDevice
) -> usize
unsafe fn get_physical_device_queue_family_properties2(
&self,
physical_device: PhysicalDevice,
queue_family_props: &mut [QueueFamilyProperties2]
)
unsafe fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice,
out: &mut PhysicalDeviceMemoryProperties2
)
unsafe fn get_physical_device_sparse_image_format_properties2_len(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> usize
unsafe fn get_physical_device_sparse_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2,
out: &mut [SparseImageFormatProperties2]
)
unsafe fn get_physical_device_external_buffer_properties(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo,
out: &mut ExternalBufferProperties
)
unsafe fn get_physical_device_external_fence_properties(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo,
out: &mut ExternalFenceProperties
)
unsafe fn get_physical_device_external_semaphore_properties(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
out: &mut ExternalSemaphoreProperties
)
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more