pub unsafe extern "C" fn rpsRenderGraphAllocateData(
    hRenderGraphBuilder: RpsRenderGraphBuilder,
    size: usize
) -> *mut c_void
Expand description

Allocates memory from a render graph builder.

@param hRenderGraphBuilder Handle to the render graph builder. Must not be RPS_NULL_HANDLE. @param size Required size of the allocation.

@returns Pointer to the allocated memory if the allocation was successful, NULL otherwise. Only valid until the next render graph update.