[][src]Function spirv_reflect::ffi::spvReflectEnumerateInputVariables

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

@fn spvReflectEnumerateInputVariables @brief If the module contains multiple entry points, this will only get the input 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 input variable count will be stored here. If pp_variables is not NULL, *p_count must contain the module's input variable count. @param pp_variables If NULL, the module's input 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 input 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.