Trait ash::version::InstanceV1_0
[−]
[src]
pub trait InstanceV1_0 { type Fp: FunctionPointers; 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<Device<Self::Fp>, DeviceError> { ... } fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction { ... } unsafe fn destroy_instance(
&self,
allocation_callbacks: Option<&AllocationCallbacks>
) { ... } fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties { ... } fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties { ... } fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties { ... } fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties> { ... } fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures { ... } fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>> { ... } fn enumerate_device_extension_properties(
&self,
device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result> { ... } }
Associated Types
type Fp: FunctionPointers
Required Methods
fn handle(&self) -> Instance
fn fp_v1_0(&self) -> &InstanceFnV1_0
Provided Methods
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Device<Self::Fp>, DeviceError>
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Device<Self::Fp>, DeviceError>
fn get_device_proc_addr(
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
&self,
device: Device,
p_name: *const c_char
) -> PFN_vkVoidFunction
unsafe fn destroy_instance(
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
fn enumerate_physical_devices(&self) -> VkResult<Vec<PhysicalDevice>>
fn enumerate_device_extension_properties(
&self,
device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result>
&self,
device: PhysicalDevice
) -> Result<Vec<ExtensionProperties>, Result>