Skip to main content

PFN_vkCreateSampler

Type Alias PFN_vkCreateSampler 

Source
pub type PFN_vkCreateSampler = Option<unsafe extern "system" fn(device: DeviceHandle, p_create_info: *const SamplerCreateInfo<'_>, p_allocator: *const AllocationCallbacks, p_sampler: *mut Sampler) -> Result>;
Expand description

Nullable function pointer for vkCreateSampler.

Khronos reference: vkCreateSampler

Aliased Type§

pub enum PFN_vkCreateSampler {
    None,
    Some(unsafe extern "system" fn(DeviceHandle, *const SamplerCreateInfo<'_>, *const AllocationCallbacks, *mut Sampler) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(DeviceHandle, *const SamplerCreateInfo<'_>, *const AllocationCallbacks, *mut Sampler) -> Result)

Some value of type T.