Yes, UE4 provides that. The functions are defined in RHICommandList.h. Pick the one that suits your purpose most.