Function rps_sys::rpsRenderGraphDeclareResource
source · pub unsafe extern "C" fn rpsRenderGraphDeclareResource(
hRenderGraphBuilder: RpsRenderGraphBuilder,
name: *const c_char,
localId: RpsResourceId,
arg: RpsVariable
) -> RpsResourceIdExpand description
Declare a render graph managed resource.
@param hRenderGraphBuilder Handle to the render graph builder. Must not be RPS_NULL_HANDLE. @param name Null terminated string with the name of the resource. @param localId Subprogram local ID of the resource. @param arg Variable for the ID of the resource
@returns ID of the declared resource.