pub unsafe extern "C" fn spvReflectEnumerateOutputVariables(
    p_module: *const SpvReflectShaderModule,
    p_count: *mut u32,
    pp_variables: *mut *mut SpvReflectInterfaceVariable
) -> SpvReflectResult
Expand description

@fn spvReflectEnumerateOutputVariables @brief Note: If the module contains multiple entry points, this will only get the output variables for the first one. @param p_module Pointer to an instance of SpvReflectShaderModule. @param p_count If pp_variables is NULL, the module’s output variable count will be stored here. If pp_variables is not NULL, *p_count must contain the module’s output variable count. @param pp_variables If NULL, the module’s output variable count will be written to *p_count. If non-NULL, pp_variables must point to an array with p_count entries, where pointers to the module’s output variables will be written. The caller must not free the interface variables written to this array. @return If successful, returns SPV_REFLECT_RESULT_SUCCESS. Otherwise, the error code indicates the cause of the failure.