[−][src]Function spirv_reflect::ffi::spvReflectEnumerateEntryPointDescriptorBindings
pub unsafe extern "C" fn spvReflectEnumerateEntryPointDescriptorBindings(
p_module: *const SpvReflectShaderModule,
entry_point: *const c_char,
p_count: *mut u32,
pp_bindings: *mut *mut SpvReflectDescriptorBinding
) -> SpvReflectResult
@fn spvReflectEnumerateEntryPointDescriptorBindings @brief Creates a listing of all descriptor bindings that are used in the static call tree of the 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_bindings is NULL, the entry point's descriptor binding count (across all descriptor sets) will be stored here. If pp_bindings is not NULL, *p_count must contain the entry points's descriptor binding count. @param pp_bindings If NULL, the entry point's total descriptor binding count will be written to *p_count. If non-NULL, pp_bindings must point to an array with p_count entries, where pointers to the entry point's descriptor bindings will be written. The caller must not free the binding pointers written to this array. @return If successful, returns SPV_REFLECT_RESULT_SUCCESS. Otherwise, the error code indicates the cause of the failure.