Function rps_sys::rpsRenderGraphGetParamResourceId
source · pub unsafe extern "C" fn rpsRenderGraphGetParamResourceId(
hRenderGraphBuilder: RpsRenderGraphBuilder,
paramId: RpsParamId
) -> RpsResourceIdExpand description
@brief Gets the resource ID of a resource parameter by the parameter ID.
Resource parameters have RPS_PARAMETER_FLAG_RESOURCE_BIT set and Resources are expected to be provided externally to the render graph.
@param hRenderGraphBuilder Handle to the render graph builder. Must not be RPS_NULL_HANDLE. @param paramId Index of the parameter.
@returns ID of the resource identified by its parameter ID.