Skip to main content

PFN_vkCreateShaderModule

Type Alias PFN_vkCreateShaderModule 

Source
pub type PFN_vkCreateShaderModule = Option<unsafe extern "system" fn(Device, *const ShaderModuleCreateInfo, *const AllocationCallbacks, *mut ShaderModule) -> Result>;
Expand description

vkCreateShaderModule Provided by VK_COMPUTE_VERSION_1_0.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_INVALID_SHADER_NV
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateShaderModule {
    None,
    Some(unsafe extern "system" fn(Device, *const ShaderModuleCreateInfo, *const AllocationCallbacks, *mut ShaderModule) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, *const ShaderModuleCreateInfo, *const AllocationCallbacks, *mut ShaderModule) -> Result)

Some value of type T.