Change position os shapes (behind or in front)

Hi!

Someone know if has some function that makes in OGL the shapes became
behind or in front another like some graphical programs has?

Diego