A structure using integrated optical elements is comprised of a substrate,
a buffer layer grown on the substrate, one or more patterned layers
formed on the buffer layer and one or more active layers formed on or
between the patterned layers, for instance by Lateral Epitaxial
Overgrowth (LEO), and including one or more light emitting species. The
patterned layer comprises a mask (made of insulating, semiconducting or
metallic material) and material filling holes in the mask. The patterned
layer, due to a large index difference with the active layer and/or
variations of a refractive index between the mask and materials filling
holes in the mask, acts as an optical confinement layer, a mirror, a
diffraction grating, a wavelength selective element, a beam shaping
element or a beam directing element.