Type Definition rps_sys::PFN_rpsRuntimeDeviceBuildRenderGraphPhases
source · pub type PFN_rpsRuntimeDeviceBuildRenderGraphPhases = Option<unsafe extern "C" fn(pUserContext: *mut c_void, hRenderGraph: RpsRenderGraph, ppPhaseInfo: *mut *const RpsRenderGraphPhaseInfo, pNumPhases: *mut u32) -> RpsResult>;Expand description
Signature of functions for defining an array of render graph phases.
@param pUserContext User defined context. @param hRenderGraph Handle to the render graph to build the phases for. Must not be RPS_NULL_HANDLE. @param ppPhaseInfo Pointer to an array of [const RpsRenderGraphPhaseInfo*] in which *pNumPhases render graph phase objects are returned. Must not be NULL. @param pNumPhases Pointer to write the number of created phases to. Must not be NULL.
@returns Result code of the operation. See RpsResult for more info.