[−][src]Function spirv_reflect::ffi::spvReflectEnumerateEntryPointPushConstantBlocks
pub unsafe extern "C" fn spvReflectEnumerateEntryPointPushConstantBlocks(
p_module: *const SpvReflectShaderModule,
entry_point: *const c_char,
p_count: *mut u32,
pp_blocks: *mut *mut SpvReflectBlockVariable
) -> SpvReflectResult
@fn spvReflectEnumerateEntryPointPushConstantBlocks @brief Enumerate the push constant blocks used in the static call tree of a given entry point. @param p_module Pointer to an instance of SpvReflectShaderModule. @param p_count If pp_blocks is NULL, the entry point's push constant block count will be stored here. If pp_blocks is not NULL, *p_count must contain the entry point's push constant block count. @param pp_blocks If NULL, the entry point's push constant block count will be written to *p_count. If non-NULL, pp_blocks must point to an array with *p_count entries, where pointers to the entry point's push constant blocks will be written. The caller must not free the block variables written to this array. @return If successful, returns SPV_REFLECT_RESULT_SUCCESS. Otherwise, the error code indicates the cause of the failure.