[−][src]Function spirv_reflect::ffi::spvReflectEnumerateEntryPointDescriptorSets
pub unsafe extern "C" fn spvReflectEnumerateEntryPointDescriptorSets(
p_module: *const SpvReflectShaderModule,
entry_point: *const c_char,
p_count: *mut u32,
pp_sets: *mut *mut SpvReflectDescriptorSet
) -> SpvReflectResult
@fn spvReflectEnumerateEntryPointDescriptorSets @brief Creates a listing of all descriptor sets and their bindings that are used in the static call tree of a given entry point. @param p_module Pointer to an instance of SpvReflectShaderModule. @param entry_point The name of the entry point to get the descriptor bindings for. @param p_count If pp_sets is NULL, the module's descriptor set count will be stored here. If pp_sets is not NULL, *p_count must contain the module's descriptor set count. @param pp_sets If NULL, the module's total descriptor set count will be written to *p_count. If non-NULL, pp_sets must point to an array with p_count entries, where pointers to the module's descriptor sets will be written. The caller must not free the descriptor set pointers written to this array. @return If successful, returns SPV_REFLECT_RESULT_SUCCESS. Otherwise, the error code indicates the cause of the failure.