[][src]Struct ash::vk::KhrDescriptorUpdateTemplateFn

pub struct KhrDescriptorUpdateTemplateFn {
    pub create_descriptor_update_template_khr: 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_khr: extern "system" fn(device: Device, descriptor_update_template: DescriptorUpdateTemplate, p_allocator: *const AllocationCallbacks) -> c_void,
    pub update_descriptor_set_with_template_khr: extern "system" fn(device: Device, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, p_data: *const c_void) -> c_void,
    pub cmd_push_descriptor_set_with_template_khr: extern "system" fn(command_buffer: CommandBuffer, descriptor_update_template: DescriptorUpdateTemplate, layout: PipelineLayout, set: u32, p_data: *const c_void) -> c_void,
}

Fields

create_descriptor_update_template_khr: extern "system" fn(device: Device, p_create_info: *const DescriptorUpdateTemplateCreateInfo, p_allocator: *const AllocationCallbacks, p_descriptor_update_template: *mut DescriptorUpdateTemplate) -> Resultdestroy_descriptor_update_template_khr: extern "system" fn(device: Device, descriptor_update_template: DescriptorUpdateTemplate, p_allocator: *const AllocationCallbacks) -> c_voidupdate_descriptor_set_with_template_khr: extern "system" fn(device: Device, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, p_data: *const c_void) -> c_voidcmd_push_descriptor_set_with_template_khr: extern "system" fn(command_buffer: CommandBuffer, descriptor_update_template: DescriptorUpdateTemplate, layout: PipelineLayout, set: u32, p_data: *const c_void) -> c_void

Methods

impl KhrDescriptorUpdateTemplateFn[src]

pub fn name() -> &'static CStr[src]

impl KhrDescriptorUpdateTemplateFn[src]

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

pub unsafe fn create_descriptor_update_template_khr(
    &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_khr(
    &self,
    device: Device,
    descriptor_update_template: DescriptorUpdateTemplate,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

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

pub unsafe fn cmd_push_descriptor_set_with_template_khr(
    &self,
    command_buffer: CommandBuffer,
    descriptor_update_template: DescriptorUpdateTemplate,
    layout: PipelineLayout,
    set: u32,
    p_data: *const c_void
) -> c_void
[src]

Trait Implementations

impl Clone for KhrDescriptorUpdateTemplateFn[src]

impl Send for KhrDescriptorUpdateTemplateFn[src]

impl Sync for KhrDescriptorUpdateTemplateFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrDescriptorUpdateTemplateFn

impl Unpin for KhrDescriptorUpdateTemplateFn

impl UnwindSafe for KhrDescriptorUpdateTemplateFn

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.