[−][src]Function spirv_reflect::ffi::spvReflectGetDescriptorSet
pub unsafe extern "C" fn spvReflectGetDescriptorSet(
p_module: *const SpvReflectShaderModule,
set_number: u32,
p_result: *mut SpvReflectResult
) -> *const SpvReflectDescriptorSet
@fn spvReflectGetDescriptorSet
@param p_module Pointer to an instance of SpvReflectShaderModule. @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 module 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.