[−][src]Function spirv_reflect::ffi::spvReflectGetEntryPointPushConstantBlock
pub unsafe extern "C" fn spvReflectGetEntryPointPushConstantBlock(
p_module: *const SpvReflectShaderModule,
entry_point: *const c_char,
p_result: *mut SpvReflectResult
) -> *const SpvReflectBlockVariable
@fn spvReflectGetEntryPointPushConstantBlock @brief Get the push constant block corresponding to the given entry point. As by the Vulkan specification there can be no more than one push constant block used by a given entry point, so if there is one it will be returned, otherwise NULL will be returned. @param p_module Pointer to an instance of SpvReflectShaderModule. @param entry_point The entry point to get the push constant block from. @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 provided index is within range, a pointer to the corresponding push constant block 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.