Target environment.
Values
Vulkan(version:VulkanVersion)
Compile under Vulkan semantics.
OpenGL
Compile under OpenGL semantics.
OpenGLCompat
Compile under OpenGL semantics, including compatibility profile functions.
NOTE: SPIR-V code generation is not supported for shaders under OpenGL compatibility profile.
WebGPU
Compile under WebGPU semantics.