[−][src]Function spirv_reflect::ffi::spvReflectGetEntryPointDescriptorSet
pub unsafe extern "C" fn spvReflectGetEntryPointDescriptorSet(
p_module: *const SpvReflectShaderModule,
entry_point: *const c_char,
set_number: u32,
p_result: *mut SpvReflectResult
) -> *const SpvReflectDescriptorSet
@fn spvReflectGetEntryPointDescriptorSet
@param p_module Pointer to an instance of SpvReflectShaderModule. @param entry_point The entry point to get the descriptor set from. @param set_number The "set" value of the requested descriptor set. @param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be written to *p_result. Otherwise, a error code indicating the cause of the failure will be stored here. @return If the entry point contains a descriptor set with the provided set_number, a pointer to that set is returned. The caller must not free this pointer. If no match can be found, or if an unrelated error occurs, the return value will be NULL. Detailed error results are written to *pResult.