Function rps_sys::rpsRenderGraphGetResourceInfo
source · pub unsafe extern "C" fn rpsRenderGraphGetResourceInfo(
hRenderGraph: RpsRenderGraph,
resourceId: RpsResourceId,
temporalLayerIndex: u32,
pResourceInfo: *mut RpsRuntimeResourceInfo
) -> RpsResultExpand description
Gets the runtime resource info from a resource ID.
Can be used to retrieve information such as the API resource handle, resource description and subresource info.
@param hRenderGraph Handle to the render graph to get the resource info from. Must not be RPS_NULL_HANDLE. @param resourceId The index to the resource to get. This can be the index returned by rpsRenderGraphDeclareResource or rpsRenderGraphGetParamResourceId. @param temporalLayerIndex The temporal layer index. Ignored for non-temporal resource. @param pResourceInfo Pointer in which the runtime resource info is returned. Must not be NULL.
@returns Result code of the operation. See RpsResult for more info.