[−][src]Function spirv_reflect::ffi::spvReflectGetPushConstantBlock
pub unsafe extern "C" fn spvReflectGetPushConstantBlock(
p_module: *const SpvReflectShaderModule,
index: u32,
p_result: *mut SpvReflectResult
) -> *const SpvReflectBlockVariable
@fn spvReflectGetPushConstantBlock
@param p_module Pointer to an instance of SpvReflectShaderModule. @param index The index of the desired block within the module's array of push constant blocks. @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.