[−][src]Function spirv_reflect::ffi::spvReflectEnumeratePushConstantBlocks
pub unsafe extern "C" fn spvReflectEnumeratePushConstantBlocks(
p_module: *const SpvReflectShaderModule,
p_count: *mut u32,
pp_blocks: *mut *mut SpvReflectBlockVariable
) -> SpvReflectResult
@fn spvReflectEnumeratePushConstantBlocks @brief Note: If the module contains multiple entry points, this will only get the push constant blocks for the first one. @param p_module Pointer to an instance of SpvReflectShaderModule. @param p_count If pp_blocks is NULL, the module's push constant block count will be stored here. If pp_blocks is not NULL, *p_count must contain the module's push constant block count. @param pp_blocks If NULL, the module'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 module'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.