Skip to main content

PFN_vkDestroySampler

Type Alias PFN_vkDestroySampler 

Source
pub type PFN_vkDestroySampler = Option<unsafe extern "system" fn(device: DeviceHandle, sampler: Sampler, p_allocator: *const AllocationCallbacks)>;
Expand description

Nullable function pointer for vkDestroySampler.

Khronos reference: vkDestroySampler

Aliased Type§

pub enum PFN_vkDestroySampler {
    None,
    Some(unsafe extern "system" fn(DeviceHandle, Sampler, *const AllocationCallbacks)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(DeviceHandle, Sampler, *const AllocationCallbacks))

Some value of type T.