Add mip option for render texture array

Add viewport state (temporary)