How to upload the vertex buffer of custom struct to GPU and how to use it when want to render the object with the vertices?

I want to use C++ and HLSL to test vertex shader and fragment shader .And some parts have been completed, but i encounter some problems .I am not familiar with UE4 , for which I don’t know how to upload the vertex buffer of the custom struct to GPU (just like vertex buffer in OpenGL) and how to use it when i want to render the object with the vertices.
How it used in UE4 or is there any tutorials ?