Function rps_sys::rpsRenderGraphAllocateDataAligned
source · pub unsafe extern "C" fn rpsRenderGraphAllocateDataAligned(
hRenderGraphBuilder: RpsRenderGraphBuilder,
size: usize,
alignment: usize
) -> *mut c_voidExpand description
Allocates memory from a render graph builder with alignment requirements.
@param hRenderGraphBuilder Handle to the render graph builder. Must not be RPS_NULL_HANDLE. @param size Required size of the allocation. @param alignment Minimum alignment requirement of the allocation in bytes.
@returns Pointer to the allocated memory if allocation was successful, NULL otherwise. Only valid until the next render graph update.