How to render a mesh directly from structured buffers?

I have 2 structured buffers which contain Position vertices and indices for the triangles, which come from a compute shader mesher, im wondering how can i tell the engine to render them using a material?