[][src]Struct ash::vk::DeviceFnV1_1

pub struct DeviceFnV1_1 {
    pub bind_buffer_memory2: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindBufferMemoryInfo) -> Result,
    pub bind_image_memory2: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindImageMemoryInfo) -> Result,
    pub get_device_group_peer_memory_features: extern "system" fn(device: Device, heap_index: u32, local_device_index: u32, remote_device_index: u32, p_peer_memory_features: *mut PeerMemoryFeatureFlags) -> c_void,
    pub cmd_set_device_mask: extern "system" fn(command_buffer: CommandBuffer, device_mask: u32) -> c_void,
    pub cmd_dispatch_base: extern "system" fn(command_buffer: CommandBuffer, base_group_x: u32, base_group_y: u32, base_group_z: u32, group_count_x: u32, group_count_y: u32, group_count_z: u32) -> c_void,
    pub get_image_memory_requirements2: extern "system" fn(device: Device, p_info: *const ImageMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_void,
    pub get_buffer_memory_requirements2: extern "system" fn(device: Device, p_info: *const BufferMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_void,
    pub get_image_sparse_memory_requirements2: extern "system" fn(device: Device, p_info: *const ImageSparseMemoryRequirementsInfo2, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2) -> c_void,
    pub trim_command_pool: extern "system" fn(device: Device, command_pool: CommandPool, flags: CommandPoolTrimFlags) -> c_void,
    pub get_device_queue2: extern "system" fn(device: Device, p_queue_info: *const DeviceQueueInfo2, p_queue: *mut Queue) -> c_void,
    pub create_sampler_ycbcr_conversion: extern "system" fn(device: Device, p_create_info: *const SamplerYcbcrConversionCreateInfo, p_allocator: *const AllocationCallbacks, p_ycbcr_conversion: *mut SamplerYcbcrConversion) -> Result,
    pub destroy_sampler_ycbcr_conversion: extern "system" fn(device: Device, ycbcr_conversion: SamplerYcbcrConversion, p_allocator: *const AllocationCallbacks) -> c_void,
    pub create_descriptor_update_template: extern "system" fn(device: Device, p_create_info: *const DescriptorUpdateTemplateCreateInfo, p_allocator: *const AllocationCallbacks, p_descriptor_update_template: *mut DescriptorUpdateTemplate) -> Result,
    pub destroy_descriptor_update_template: extern "system" fn(device: Device, descriptor_update_template: DescriptorUpdateTemplate, p_allocator: *const AllocationCallbacks) -> c_void,
    pub update_descriptor_set_with_template: extern "system" fn(device: Device, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, p_data: *const c_void) -> c_void,
    pub get_descriptor_set_layout_support: extern "system" fn(device: Device, p_create_info: *const DescriptorSetLayoutCreateInfo, p_support: *mut DescriptorSetLayoutSupport) -> c_void,
}

Fields

bind_buffer_memory2: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindBufferMemoryInfo) -> Resultbind_image_memory2: extern "system" fn(device: Device, bind_info_count: u32, p_bind_infos: *const BindImageMemoryInfo) -> Resultget_device_group_peer_memory_features: extern "system" fn(device: Device, heap_index: u32, local_device_index: u32, remote_device_index: u32, p_peer_memory_features: *mut PeerMemoryFeatureFlags) -> c_voidcmd_set_device_mask: extern "system" fn(command_buffer: CommandBuffer, device_mask: u32) -> c_voidcmd_dispatch_base: extern "system" fn(command_buffer: CommandBuffer, base_group_x: u32, base_group_y: u32, base_group_z: u32, group_count_x: u32, group_count_y: u32, group_count_z: u32) -> c_voidget_image_memory_requirements2: extern "system" fn(device: Device, p_info: *const ImageMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_voidget_buffer_memory_requirements2: extern "system" fn(device: Device, p_info: *const BufferMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_voidget_image_sparse_memory_requirements2: extern "system" fn(device: Device, p_info: *const ImageSparseMemoryRequirementsInfo2, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2) -> c_voidtrim_command_pool: extern "system" fn(device: Device, command_pool: CommandPool, flags: CommandPoolTrimFlags) -> c_voidget_device_queue2: extern "system" fn(device: Device, p_queue_info: *const DeviceQueueInfo2, p_queue: *mut Queue) -> c_voidcreate_sampler_ycbcr_conversion: extern "system" fn(device: Device, p_create_info: *const SamplerYcbcrConversionCreateInfo, p_allocator: *const AllocationCallbacks, p_ycbcr_conversion: *mut SamplerYcbcrConversion) -> Resultdestroy_sampler_ycbcr_conversion: extern "system" fn(device: Device, ycbcr_conversion: SamplerYcbcrConversion, p_allocator: *const AllocationCallbacks) -> c_voidcreate_descriptor_update_template: extern "system" fn(device: Device, p_create_info: *const DescriptorUpdateTemplateCreateInfo, p_allocator: *const AllocationCallbacks, p_descriptor_update_template: *mut DescriptorUpdateTemplate) -> Resultdestroy_descriptor_update_template: extern "system" fn(device: Device, descriptor_update_template: DescriptorUpdateTemplate, p_allocator: *const AllocationCallbacks) -> c_voidupdate_descriptor_set_with_template: extern "system" fn(device: Device, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, p_data: *const c_void) -> c_voidget_descriptor_set_layout_support: extern "system" fn(device: Device, p_create_info: *const DescriptorSetLayoutCreateInfo, p_support: *mut DescriptorSetLayoutSupport) -> c_void

Methods

impl DeviceFnV1_1[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn bind_buffer_memory2(
    &self,
    device: Device,
    bind_info_count: u32,
    p_bind_infos: *const BindBufferMemoryInfo
) -> Result
[src]

pub unsafe fn bind_image_memory2(
    &self,
    device: Device,
    bind_info_count: u32,
    p_bind_infos: *const BindImageMemoryInfo
) -> Result
[src]

pub unsafe fn get_device_group_peer_memory_features(
    &self,
    device: Device,
    heap_index: u32,
    local_device_index: u32,
    remote_device_index: u32,
    p_peer_memory_features: *mut PeerMemoryFeatureFlags
) -> c_void
[src]

pub unsafe fn cmd_set_device_mask(
    &self,
    command_buffer: CommandBuffer,
    device_mask: u32
) -> c_void
[src]

pub unsafe fn cmd_dispatch_base(
    &self,
    command_buffer: CommandBuffer,
    base_group_x: u32,
    base_group_y: u32,
    base_group_z: u32,
    group_count_x: u32,
    group_count_y: u32,
    group_count_z: u32
) -> c_void
[src]

pub unsafe fn get_image_memory_requirements2(
    &self,
    device: Device,
    p_info: *const ImageMemoryRequirementsInfo2,
    p_memory_requirements: *mut MemoryRequirements2
) -> c_void
[src]

pub unsafe fn get_buffer_memory_requirements2(
    &self,
    device: Device,
    p_info: *const BufferMemoryRequirementsInfo2,
    p_memory_requirements: *mut MemoryRequirements2
) -> c_void
[src]

pub unsafe fn get_image_sparse_memory_requirements2(
    &self,
    device: Device,
    p_info: *const ImageSparseMemoryRequirementsInfo2,
    p_sparse_memory_requirement_count: *mut u32,
    p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2
) -> c_void
[src]

pub unsafe fn trim_command_pool(
    &self,
    device: Device,
    command_pool: CommandPool,
    flags: CommandPoolTrimFlags
) -> c_void
[src]

pub unsafe fn get_device_queue2(
    &self,
    device: Device,
    p_queue_info: *const DeviceQueueInfo2,
    p_queue: *mut Queue
) -> c_void
[src]

pub unsafe fn create_sampler_ycbcr_conversion(
    &self,
    device: Device,
    p_create_info: *const SamplerYcbcrConversionCreateInfo,
    p_allocator: *const AllocationCallbacks,
    p_ycbcr_conversion: *mut SamplerYcbcrConversion
) -> Result
[src]

pub unsafe fn destroy_sampler_ycbcr_conversion(
    &self,
    device: Device,
    ycbcr_conversion: SamplerYcbcrConversion,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn create_descriptor_update_template(
    &self,
    device: Device,
    p_create_info: *const DescriptorUpdateTemplateCreateInfo,
    p_allocator: *const AllocationCallbacks,
    p_descriptor_update_template: *mut DescriptorUpdateTemplate
) -> Result
[src]

pub unsafe fn destroy_descriptor_update_template(
    &self,
    device: Device,
    descriptor_update_template: DescriptorUpdateTemplate,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn update_descriptor_set_with_template(
    &self,
    device: Device,
    descriptor_set: DescriptorSet,
    descriptor_update_template: DescriptorUpdateTemplate,
    p_data: *const c_void
) -> c_void
[src]

pub unsafe fn get_descriptor_set_layout_support(
    &self,
    device: Device,
    p_create_info: *const DescriptorSetLayoutCreateInfo,
    p_support: *mut DescriptorSetLayoutSupport
) -> c_void
[src]

Trait Implementations

impl Sync for DeviceFnV1_1[src]

impl Clone for DeviceFnV1_1[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for DeviceFnV1_1[src]

Auto Trait Implementations

impl Unpin for DeviceFnV1_1

impl UnwindSafe for DeviceFnV1_1

impl RefUnwindSafe for DeviceFnV1_1

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]