Struct lava::vk_physical_device::VkPhysicalDevice [−][src]
pub struct VkPhysicalDevice { /* fields omitted */ }
Methods
impl VkPhysicalDevice
[src]
impl VkPhysicalDevice
pub fn handle(&self) -> u64
[src]
pub fn handle(&self) -> u64
pub fn get_features(&self) -> VkPhysicalDeviceFeatures
[src]
pub fn get_features(&self) -> VkPhysicalDeviceFeatures
pub fn get_format_properties(&self, format: VkFormat) -> VkFormatProperties
[src]
pub fn get_format_properties(&self, format: VkFormat) -> VkFormatProperties
pub fn get_image_format_properties(
&self,
format: VkFormat,
type_: VkImageType,
tiling: VkImageTiling,
usage: VkImageUsageFlags,
flags: VkImageCreateFlags
) -> Result<VkImageFormatProperties, VkResult>
[src]
pub fn get_image_format_properties(
&self,
format: VkFormat,
type_: VkImageType,
tiling: VkImageTiling,
usage: VkImageUsageFlags,
flags: VkImageCreateFlags
) -> Result<VkImageFormatProperties, VkResult>
pub fn get_properties(&self) -> VkPhysicalDeviceProperties
[src]
pub fn get_properties(&self) -> VkPhysicalDeviceProperties
pub fn get_queue_family_properties(&self) -> Vec<VkQueueFamilyProperties>
[src]
pub fn get_queue_family_properties(&self) -> Vec<VkQueueFamilyProperties>
pub fn get_memory_properties(&self) -> VkPhysicalDeviceMemoryProperties
[src]
pub fn get_memory_properties(&self) -> VkPhysicalDeviceMemoryProperties
pub fn create_device(
&self,
create_info: &VkDeviceCreateInfo
) -> Result<VkDevice, VkResult>
[src]
pub fn create_device(
&self,
create_info: &VkDeviceCreateInfo
) -> Result<VkDevice, VkResult>
pub fn enumerate_device_extension_properties(
&self,
layer_name: Option<&str>
) -> Result<Vec<VkExtensionProperties>, VkResult>
[src]
pub fn enumerate_device_extension_properties(
&self,
layer_name: Option<&str>
) -> Result<Vec<VkExtensionProperties>, VkResult>
pub fn enumerate_device_layer_properties(
&self
) -> Result<Vec<VkLayerProperties>, VkResult>
[src]
pub fn enumerate_device_layer_properties(
&self
) -> Result<Vec<VkLayerProperties>, VkResult>
pub fn get_sparse_image_format_properties(
&self,
format: VkFormat,
type_: VkImageType,
samples: VkSampleCountFlags,
usage: VkImageUsageFlags,
tiling: VkImageTiling
) -> Vec<VkSparseImageFormatProperties>
[src]
pub fn get_sparse_image_format_properties(
&self,
format: VkFormat,
type_: VkImageType,
samples: VkSampleCountFlags,
usage: VkImageUsageFlags,
tiling: VkImageTiling
) -> Vec<VkSparseImageFormatProperties>
pub fn get_features_2(&self) -> VkPhysicalDeviceFeatures2
[src]
pub fn get_features_2(&self) -> VkPhysicalDeviceFeatures2
pub fn get_properties_2(&self) -> VkPhysicalDeviceProperties2
[src]
pub fn get_properties_2(&self) -> VkPhysicalDeviceProperties2
pub fn get_format_properties_2(&self, format: VkFormat) -> VkFormatProperties2
[src]
pub fn get_format_properties_2(&self, format: VkFormat) -> VkFormatProperties2
pub fn get_image_format_properties_2(
&self,
image_format_info: &VkPhysicalDeviceImageFormatInfo2
) -> Result<VkImageFormatProperties2, VkResult>
[src]
pub fn get_image_format_properties_2(
&self,
image_format_info: &VkPhysicalDeviceImageFormatInfo2
) -> Result<VkImageFormatProperties2, VkResult>
pub fn get_queue_family_properties_2(&self) -> Vec<VkQueueFamilyProperties2>
[src]
pub fn get_queue_family_properties_2(&self) -> Vec<VkQueueFamilyProperties2>
pub fn get_memory_properties_2(&self) -> VkPhysicalDeviceMemoryProperties2
[src]
pub fn get_memory_properties_2(&self) -> VkPhysicalDeviceMemoryProperties2
pub fn get_sparse_image_format_properties_2(
&self,
format_info: &VkPhysicalDeviceSparseImageFormatInfo2
) -> Vec<VkSparseImageFormatProperties2>
[src]
pub fn get_sparse_image_format_properties_2(
&self,
format_info: &VkPhysicalDeviceSparseImageFormatInfo2
) -> Vec<VkSparseImageFormatProperties2>
pub fn get_external_buffer_properties(
&self,
external_buffer_info: &VkPhysicalDeviceExternalBufferInfo
) -> VkExternalBufferProperties
[src]
pub fn get_external_buffer_properties(
&self,
external_buffer_info: &VkPhysicalDeviceExternalBufferInfo
) -> VkExternalBufferProperties
pub fn get_external_fence_properties(
&self,
external_fence_info: &VkPhysicalDeviceExternalFenceInfo
) -> VkExternalFenceProperties
[src]
pub fn get_external_fence_properties(
&self,
external_fence_info: &VkPhysicalDeviceExternalFenceInfo
) -> VkExternalFenceProperties
pub fn get_external_semaphore_properties(
&self,
external_semaphore_info: &VkPhysicalDeviceExternalSemaphoreInfo
) -> VkExternalSemaphoreProperties
[src]
pub fn get_external_semaphore_properties(
&self,
external_semaphore_info: &VkPhysicalDeviceExternalSemaphoreInfo
) -> VkExternalSemaphoreProperties
pub fn get_surface_support(
&self,
queue_family_index: usize,
surface: &VkSurface
) -> Result<bool, VkResult>
[src]
pub fn get_surface_support(
&self,
queue_family_index: usize,
surface: &VkSurface
) -> Result<bool, VkResult>
pub fn get_surface_capabilities(
&self,
surface: &VkSurface
) -> Result<VkSurfaceCapabilities, VkResult>
[src]
pub fn get_surface_capabilities(
&self,
surface: &VkSurface
) -> Result<VkSurfaceCapabilities, VkResult>
pub fn get_surface_formats(
&self,
surface: &VkSurface
) -> Result<Vec<VkSurfaceFormat>, VkResult>
[src]
pub fn get_surface_formats(
&self,
surface: &VkSurface
) -> Result<Vec<VkSurfaceFormat>, VkResult>
pub fn get_surface_present_modes(
&self,
surface: &VkSurface
) -> Result<Vec<VkPresentMode>, VkResult>
[src]
pub fn get_surface_present_modes(
&self,
surface: &VkSurface
) -> Result<Vec<VkPresentMode>, VkResult>
pub fn get_present_rectangles(
&self,
surface: &VkSurface
) -> Result<Vec<VkRect2D>, VkResult>
[src]
pub fn get_present_rectangles(
&self,
surface: &VkSurface
) -> Result<Vec<VkRect2D>, VkResult>
pub fn get_display_properties(
&self
) -> Result<Vec<VkDisplayProperties>, VkResult>
[src]
pub fn get_display_properties(
&self
) -> Result<Vec<VkDisplayProperties>, VkResult>
pub fn get_display_plane_properties(
&self
) -> Result<Vec<VkDisplayPlaneProperties>, VkResult>
[src]
pub fn get_display_plane_properties(
&self
) -> Result<Vec<VkDisplayPlaneProperties>, VkResult>
pub fn get_display_plane_supported_displays(
&self,
plane_index: usize
) -> Result<Vec<VkDisplay>, VkResult>
[src]
pub fn get_display_plane_supported_displays(
&self,
plane_index: usize
) -> Result<Vec<VkDisplay>, VkResult>
pub fn get_display_mode_properties(
&self,
display: &VkDisplay
) -> Result<Vec<VkDisplayModeProperties>, VkResult>
[src]
pub fn get_display_mode_properties(
&self,
display: &VkDisplay
) -> Result<Vec<VkDisplayModeProperties>, VkResult>
pub fn create_display_mode(
&self,
display: &VkDisplay,
create_info: &VkDisplayModeCreateInfo
) -> Result<VkDisplayMode, VkResult>
[src]
pub fn create_display_mode(
&self,
display: &VkDisplay,
create_info: &VkDisplayModeCreateInfo
) -> Result<VkDisplayMode, VkResult>
pub fn get_display_plane_capabilities(
&self,
mode: &VkDisplayMode,
plane_index: usize
) -> Result<VkDisplayPlaneCapabilities, VkResult>
[src]
pub fn get_display_plane_capabilities(
&self,
mode: &VkDisplayMode,
plane_index: usize
) -> Result<VkDisplayPlaneCapabilities, VkResult>
pub fn get_surface_capabilities_2(
&self,
surface_info: &VkPhysicalDeviceSurfaceInfo2
) -> Result<VkSurfaceCapabilities2, VkResult>
[src]
pub fn get_surface_capabilities_2(
&self,
surface_info: &VkPhysicalDeviceSurfaceInfo2
) -> Result<VkSurfaceCapabilities2, VkResult>
pub fn get_surface_formats_2(
&self,
surface_info: &VkPhysicalDeviceSurfaceInfo2
) -> Result<Vec<VkSurfaceFormat2>, VkResult>
[src]
pub fn get_surface_formats_2(
&self,
surface_info: &VkPhysicalDeviceSurfaceInfo2
) -> Result<Vec<VkSurfaceFormat2>, VkResult>
pub fn get_display_properties_2(
&self
) -> Result<Vec<VkDisplayProperties2>, VkResult>
[src]
pub fn get_display_properties_2(
&self
) -> Result<Vec<VkDisplayProperties2>, VkResult>
pub fn get_display_plane_properties_2(
&self
) -> Result<Vec<VkDisplayPlaneProperties2>, VkResult>
[src]
pub fn get_display_plane_properties_2(
&self
) -> Result<Vec<VkDisplayPlaneProperties2>, VkResult>
pub fn get_display_mode_properties_2(
&self,
display: &VkDisplay
) -> Result<Vec<VkDisplayModeProperties2>, VkResult>
[src]
pub fn get_display_mode_properties_2(
&self,
display: &VkDisplay
) -> Result<Vec<VkDisplayModeProperties2>, VkResult>
pub fn get_display_plane_capabilities_2(
&self,
display_plane_info: &VkDisplayPlaneInfo2
) -> Result<VkDisplayPlaneCapabilities2, VkResult>
[src]
pub fn get_display_plane_capabilities_2(
&self,
display_plane_info: &VkDisplayPlaneInfo2
) -> Result<VkDisplayPlaneCapabilities2, VkResult>
pub fn get_external_image_format_properties(
&self,
format: VkFormat,
type_: VkImageType,
tiling: VkImageTiling,
usage: VkImageUsageFlags,
flags: VkImageCreateFlags,
external_handle_type: VkExternalMemoryHandleTypeFlags
) -> Result<VkExternalImageFormatProperties, VkResult>
[src]
pub fn get_external_image_format_properties(
&self,
format: VkFormat,
type_: VkImageType,
tiling: VkImageTiling,
usage: VkImageUsageFlags,
flags: VkImageCreateFlags,
external_handle_type: VkExternalMemoryHandleTypeFlags
) -> Result<VkExternalImageFormatProperties, VkResult>
pub fn get_generated_commands_properties(
&self,
features: &VkDeviceGeneratedCommandsFeatures
) -> VkDeviceGeneratedCommandsLimits
[src]
pub fn get_generated_commands_properties(
&self,
features: &VkDeviceGeneratedCommandsFeatures
) -> VkDeviceGeneratedCommandsLimits
pub fn release_display(&self, display: &VkDisplay) -> VkResult
[src]
pub fn release_display(&self, display: &VkDisplay) -> VkResult
pub fn get_surface_capabilities_2_ext(
&self,
surface: &VkSurface
) -> Result<VkSurfaceCapabilities2, VkResult>
[src]
pub fn get_surface_capabilities_2_ext(
&self,
surface: &VkSurface
) -> Result<VkSurfaceCapabilities2, VkResult>
pub fn get_multisample_properties(
&self,
samples: VkSampleCountFlags
) -> VkMultisampleProperties
[src]
pub fn get_multisample_properties(
&self,
samples: VkSampleCountFlags
) -> VkMultisampleProperties
Trait Implementations
impl Debug for VkPhysicalDevice
[src]
impl Debug for VkPhysicalDevice
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for VkPhysicalDevice
[src]
impl Copy for VkPhysicalDevice
impl Clone for VkPhysicalDevice
[src]
impl Clone for VkPhysicalDevice
fn clone(&self) -> VkPhysicalDevice
[src]
fn clone(&self) -> VkPhysicalDevice
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for VkPhysicalDevice
[src]
impl Default for VkPhysicalDevice
fn default() -> VkPhysicalDevice
[src]
fn default() -> VkPhysicalDevice
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl !Send for VkPhysicalDevice
impl !Send for VkPhysicalDevice
impl !Sync for VkPhysicalDevice
impl !Sync for VkPhysicalDevice